diff --git a/.github/workflows/tests_with_latest_deps.yaml b/.github/workflows/tests_with_latest_deps.yaml index cfd65343ca..b3926cc1c3 100644 --- a/.github/workflows/tests_with_latest_deps.yaml +++ b/.github/workflows/tests_with_latest_deps.yaml @@ -37,7 +37,7 @@ jobs: python -m pip install -e unpacked_sdist/[test,dask] - if: ${{ matrix.python_version == 3.9 }} name: Generate coverage args - run: echo "coverage_args=--cov=featuretools --cov-config=../pyproject.toml --cov-report=xml:../coverage.xml" >> $GITHUB_ENV + run: echo "coverage_args=--cov=featuretools --cov-config=../pyproject.toml --cov-report=xml:../coverage.xml --junitxml=junit.xml -o junit_family=legacy" >> $GITHUB_ENV - if: ${{ env.coverage_args }} name: Erase coverage files run: | @@ -47,6 +47,11 @@ jobs: run: | cd unpacked_sdist pytest featuretools/ -n auto ${{ env.coverage_args }} + - if: ${{ env.coverage_args} && ${{ !cancelled() }} # Run even if tests fail + name: Upload test results to Codecov + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} - if: ${{ env.coverage_args }} name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index 7357ed4b0d..85abd031d8 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -12,6 +12,7 @@ Future Release * Documentation Changes * Update API Docs to include previously missing primitives (:pr:`2737`) * Testing Changes + * Add Codecov test analytics (:pr:`2761`) Thanks to the following people for contributing to this release: :user:`thehomebrewnerd`