File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 37
37
python -m pip install -e unpacked_sdist/[test,dask]
38
38
- if: ${{ matrix.python_version == 3.9 }}
39
39
name: Generate coverage args
40
- run : echo "coverage_args=--cov=featuretools --cov-config=../pyproject.toml --cov-report=xml:../coverage.xml" >> $GITHUB_ENV
40
+ run: echo "coverage_args=--cov=featuretools --cov-config=../pyproject.toml --cov-report=xml:../coverage.xml --junitxml=junit.xml -o junit_family=legacy " >> $GITHUB_ENV
41
41
- if: ${{ env.coverage_args }}
42
42
name: Erase coverage files
43
43
run: |
47
47
run: |
48
48
cd unpacked_sdist
49
49
pytest featuretools/ -n auto ${{ env.coverage_args }}
50
+ - if : ${{ env.coverage_args} && ${{ !cancelled() }} # Run even if tests fail
51
+ name : Upload test results to Codecov
52
+ uses : codecov/test-results-action@v1
53
+ with :
54
+ token : ${{ secrets.CODECOV_TOKEN }}
50
55
- if: ${{ env.coverage_args }}
51
56
name: Upload coverage to Codecov
52
57
uses: codecov/codecov-action@v3
You can’t perform that action at this time.
0 commit comments