From 0db788b4436a1d36283ffbb6021c412d225a8ab1 Mon Sep 17 00:00:00 2001 From: Mostafa Moradian Date: Thu, 17 Oct 2024 16:51:26 +0200 Subject: [PATCH] Use poetry to run commands --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 02920ff..b0f181f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,12 +23,12 @@ jobs: cd training && poetry install --with dev --no-root - name: Run formatter, linter and type checker run: | - ruff check training + poetry run ruff check training # mypy --explicit-package-bases . # flake8 . # interrogate -vv --ignore-init-module --exclude sigma_api . - name: Run tests - run: pytest --cov=training --cov-report term --cov-report lcov:coverage.lcov -vv + run: poetry run pytest --cov=training --cov-report term --cov-report lcov:coverage.lcov -vv # - name: Submit coverage report to Coveralls # if: ${{ success() }} # uses: coverallsapp/github-action@1.1.3