diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8148173..e767168 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,15 +1,9 @@ name: Tests -# TODO: use proper rule -# on: -# push: -# branches: [ main ] -# pull_request: - on: push: - branches: - - '**' + branches: [ main ] + pull_request: jobs: run_tests: @@ -23,6 +17,6 @@ jobs: - name: Install Python dependencies working-directory: qsa-api run: poetry install - - name: Run tests + - name: Run test without Postgres Dependency working-directory: qsa-api run: pytest -sv tests/test_api_storage_filesystem.py