From 81e09aa9f80e02a0d1ceb8c0a6fa2c27d578aa94 Mon Sep 17 00:00:00 2001 From: Mostafa Moradian Date: Thu, 17 Oct 2024 16:58:20 +0200 Subject: [PATCH] Switch dir to run poetry --- .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 e5cc0f4..54e0ee1 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: | - poetry run ruff check . + cd training && poetry run ruff check . # mypy --explicit-package-bases . # flake8 . # interrogate -vv --ignore-init-module --exclude sigma_api . - name: Run tests - run: poetry run pytest --cov=training --cov-report term --cov-report lcov:coverage.lcov -vv + run: cd training && 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