Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
narumiruna committed May 19, 2024
1 parent 4279281 commit 91435fe
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,21 @@ jobs:
max-parallel: 1
matrix:
python-version: ["3.11"]
poetry-version: ["1.8.3"]
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- name: Install poetry
run: pipx install poetry==${{ matrix.poetry-version }}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- run: poetry install
- run: poetry run ruff check .
- run: poetry run pytest -v -s --cov=. --cov-report=xml tests
- name: Install dependencies
run: poetry install
- name: Lint
run: poetry run ruff check .
- name: Test
run: poetry run pytest -v -s --cov=. --cov-report=xml tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
Expand Down

0 comments on commit 91435fe

Please sign in to comment.