Skip to content

Commit

Permalink
ci: use pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
JamzumSum committed Nov 5, 2022
1 parent 6d4a0ef commit 1ebaea6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-pub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- run: pipx install poetry
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Install and Test
run: |
poetry install -n -vv
poetry run python conf/default.py && [ -f conf/default.pyi ] && echo "✅"
poetry run pytest tests
publish:
runs-on: ubuntu-latest
Expand All @@ -35,7 +35,7 @@ jobs:
id: publish
run: |
pipx install poetry
echo "::set-output name=version::$(poetry version -s)"
echo "version=$(poetry version -s)" >> $GITHUB_OUTPUT
export POETRY_PYPI_TOKEN_PYPI=${{ secrets.PYPI_TOKEN }}
poetry publish -n --build
- uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 1ebaea6

Please sign in to comment.