diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 70e8dbd..3488d68 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -95,7 +95,11 @@ jobs: run: pip install "${{ matrix.package }}[${{ join(matrix.extras, ',') }}]" - run: pip install pytest-xdist - run: pip list - - run: pytest --pyargs ${{ matrix.package }} ${{ matrix.pytest-args }} -n auto + - run: pytest --pyargs ${{ matrix.package }} ${{ matrix.pytest-args }} --junitxml=${{ runner.temp }}/results.xml -n auto + - uses: test-summary/action@v2 + with: + paths: ${{ runner.temp }}/regtest/results.xml + show: "fail" test_from_source: needs: [ build, crds_contexts ] strategy: @@ -179,8 +183,12 @@ jobs: - if: matrix.pre_command != '' run: ${{ matrix.pre_command }} working-directory: ${{ matrix.package }} - - run: pytest ${{ matrix.test-directory }} ${{ matrix.pytest-args }} -n auto + - run: pytest ${{ matrix.test-directory }} ${{ matrix.pytest-args }} --junitxml=${{ runner.temp }}/results.xml -n auto working-directory: ${{ matrix.package }} + - uses: test-summary/action@v2 + with: + paths: ${{ runner.temp }}/regtest/results.xml + show: "fail" crds_contexts: uses: spacetelescope/crds/.github/workflows/contexts.yml@master crds_test_cache: @@ -265,7 +273,7 @@ jobs: crds-observatory: hst jref: hst/references/hst - package: drizzlepac - run: pytest -n auto tests/test_drizzlepac.py + run: pytest tests/test_drizzlepac.py -n auto crds-observatory: hst jref: hst/references/hst exclude: