diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 4509ea82..2fe1cc55 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,7 +1,7 @@ name: pytest -on: - pull_request +# Triggers the workflow on push for all branches +on: [push] jobs: pytest: @@ -23,8 +23,9 @@ jobs: # Run pytest with coverage report and upload results to coveralls - name: Run tests on python 3.8 run: | - poetry run pytest --cov=sed -n auto tests/ + poetry run pytest --cov --full-trace --show-capture=no -sv -n auto tests/ - name: Coveralls uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} + parallel: true diff --git a/.github/workflows/testing_multiversion.yml b/.github/workflows/testing_multiversion.yml index d5c51337..1cc090de 100644 --- a/.github/workflows/testing_multiversion.yml +++ b/.github/workflows/testing_multiversion.yml @@ -27,25 +27,4 @@ jobs: # Use cached python and dependencies, install poetry - name: Run tests on python ${{matrix.python-version}} run: | - poetry run pytest --cov=sed -n auto tests/ - - # run this job after each pytest job is finished - - name: Coveralls Parallel - uses: coverallsapp/github-action@v2 - with: - flag-name: run-${{ join(matrix.*, '-') }} - parallel: true - - # run this job after all the pytest jobs are finished - # coveralls will combine the coverage reports and upload to coveralls.io - finish: - needs: pytest - if: ${{ always() }} - runs-on: ubuntu-latest - steps: - - name: Coveralls Finished - uses: coverallsapp/github-action@v2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - parallel-finished: true - carryforward: "run-3.8,run-3.9,run-3.10" \ No newline at end of file + poetry run pytest--full-trace --show-capture=no -sv -n auto tests/