-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (33 loc) · 904 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Sample CI
on:
push:
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Apt dependencies
shell: bash
run: |
sudo apt -y update
sudo apt install -y python3-dev
- name: Python dependencies
shell: bash
run: |
pip3 install numpy \
pytest \
build
- name: Test
shell: bash
run: |
pytest -v .
- name: build
run: python -m build .
- name: install
shell: bash
run: |
python -m build .
pip install build/*.whl
do_thing -h