We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93cd1eb commit 77e7317Copy full SHA for 77e7317
1 file changed
.github/workflows/ci.yml
@@ -2,7 +2,7 @@ name: CI
2
on: [push, pull_request]
3
4
jobs:
5
- test-new:
+ test:
6
7
runs-on: ubuntu-latest
8
@@ -15,10 +15,16 @@ jobs:
15
python-version: '3.x'
16
17
- name: Install requirements (PIP)
18
- run: pip3 install pytest sphinx numpy
+ run: pip3 install pytest sphinx numpy build
19
20
- - name: Setup up PYTHONPATH
21
- run: echo "PYTHONPATH=${PWD}/src" >> $GITHUB_ENV
+ - name: Setup up root directory
+ run: echo "PACKAGE_ROOT=${PWD}/src" >> $GITHUB_ENV
22
+
23
+ - name: Build and install package
24
+ run: |
25
+ python -m build
26
+ pip install dist/hsd_python*.whl
27
+ python3 -c 'import hsd; print(hsd.__version__)'
28
29
- name: Run test pytest
30
run: python3 -m pytest
0 commit comments