diff --git a/.github/workflows/.tests-python.yml b/.github/workflows/.tests-python.yml index 926dd18a..fce20dc2 100644 --- a/.github/workflows/.tests-python.yml +++ b/.github/workflows/.tests-python.yml @@ -54,7 +54,7 @@ jobs: if: matrix.python-version == '3.11' run: mypy fittrackee - name: Pytest - run: pytest fittrackee -p no:warnings --cov fittrackee --cov-report term-missing + run: pytest fittrackee -p no:warnings --cov fittrackee --cov-report term-missing --maxfail=1 postgresql: name: postgresql ${{ matrix.psql-version }} (python 3.11) @@ -84,7 +84,7 @@ jobs: poetry config virtualenvs.create false poetry install --no-interaction --quiet - name: Pytest - run: pytest fittrackee -p no:warnings --cov fittrackee --cov-report term-missing + run: pytest fittrackee -p no:warnings --cov fittrackee --cov-report term-missing --maxfail=1 end2end: name: e2e tests @@ -129,7 +129,7 @@ jobs: export TEST_APP_URL=http://$(hostname --ip-address):5000 sleep 5 nohup flask worker --processes=1 >> nohup.out 2>&1 & - pytest e2e --driver Remote --capability browserName firefox --selenium-host selenium --selenium-port 4444 + pytest e2e --driver Remote --capability browserName firefox --selenium-host selenium --selenium-port 4444 --maxfail=1 end2end_package: name: e2e tests with package @@ -182,7 +182,7 @@ jobs: export TEST_APP_URL=http://$(hostname --ip-address):5000 sleep 5 nohup flask worker --processes=1 >> nohup.out 2>&1 & - pytest e2e --driver Remote --capability browserName firefox --selenium-host selenium --selenium-port 4444 + pytest e2e --driver Remote --capability browserName firefox --selenium-host selenium --selenium-port 4444 --maxfail=1 end2end_package_update: name: e2e tests after update @@ -239,4 +239,4 @@ jobs: export TEST_APP_URL=http://$(hostname --ip-address):5000 sleep 5 nohup flask worker --processes=1 >> nohup.out 2>&1 & - pytest e2e --driver Remote --capability browserName firefox --selenium-host selenium --selenium-port 4444 \ No newline at end of file + pytest e2e --driver Remote --capability browserName firefox --selenium-host selenium --selenium-port 4444 --maxfail=1 \ No newline at end of file