Skip to content

Commit 3de695b

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

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-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

docs/source/release_notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Future Release
1212
* Documentation Changes
1313
* Update API Docs to include previously missing primitives (:pr:`2737`)
1414
* Testing Changes
15+
* Add Codecov test analytics (:pr:`2761`)
1516

1617
Thanks to the following people for contributing to this release:
1718
:user:`thehomebrewnerd`

0 commit comments

Comments
 (0)