Skip to content

Commit 0db788b

Browse files
committed
Use poetry to run commands
1 parent 342fefc commit 0db788b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
cd training && poetry install --with dev --no-root
2424
- name: Run formatter, linter and type checker
2525
run: |
26-
ruff check training
26+
poetry run ruff check training
2727
# mypy --explicit-package-bases .
2828
# flake8 .
2929
# interrogate -vv --ignore-init-module --exclude sigma_api .
3030
- name: Run tests
31-
run: pytest --cov=training --cov-report term --cov-report lcov:coverage.lcov -vv
31+
run: poetry run pytest --cov=training --cov-report term --cov-report lcov:coverage.lcov -vv
3232
# - name: Submit coverage report to Coveralls
3333
# if: ${{ success() }}
3434
# uses: coverallsapp/github-action@1.1.3

0 commit comments

Comments
 (0)