Skip to content

Commit ab747ee

Browse files
chore: add Codecov test analytics
1 parent 938a0f6 commit ab747ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/tests_with_latest_deps.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
python -m pip install -e unpacked_sdist/[test,dask]
3838
- if: ${{ matrix.python_version == 3.9 }}
3939
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
4141
- if: ${{ env.coverage_args }}
4242
name: Erase coverage files
4343
run: |
@@ -47,6 +47,11 @@ jobs:
4747
run: |
4848
cd unpacked_sdist
4949
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 }}
5055
- if: ${{ env.coverage_args }}
5156
name: Upload coverage to Codecov
5257
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)