Skip to content

Commit

Permalink
CI fixes (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski authored Jan 10, 2022
1 parent 8e1b7f9 commit 699152a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: publish

on:
release:
types: [published]
Expand All @@ -15,10 +17,17 @@ jobs:
with:
python-version: '3.9'

- run: python -m pip install --upgrade pip wheel
- run: python setup.py sdist bdist_wheel
- run: python -m pip install dist/jacobi-*.whl[test]
- run: python -m pytest
- run: |
python -m pip install --upgrade pip wheel
python -m pip install -e .
python setup.py sdist bdist_wheel
- run: |
python -m venv test
./test/bin/activate
ls dist
python -m pip install $(echo dist/jacobi-*.whl)'[test]'
python -m pytest
- uses: pypa/gh-action-pypi-publish@master
if: github.ref_type == 'tag'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: doc

on:
pull_request:
push:
Expand Down

0 comments on commit 699152a

Please sign in to comment.