diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b54a30c..630c816 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,15 +25,15 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --ignore=E402,E226,E24,W50,W690 --max-complexity=25 --max-line-length=127 --statistics + poetry run flake8 . --count --ignore=E402,E226,E24,W50,W690 --max-complexity=25 --max-line-length=127 --statistics - name: Test with unittest if: ${{ always() }} timeout-minutes: 10 run: | - python -m sounddevice - python -m unittest + poetry run python -m sounddevice + poetry run python -m unittest - name: Archive test logs if: ${{ always() }} uses: actions/upload-artifact@v4