File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,21 @@ jobs:
4848 cd ./envs/${{ matrix.env }}
4949 poetry run bash "../../scripts/run-tests.sh"
5050
51+ - name : Upload test results
52+ uses : codecov/test-results-action@v1
53+ with :
54+ env_vars : OS,PYTHON_VERSION,PYDANTIC_VERSION
55+ files : ./tests/junit.xml
56+ flags : unittests
57+ env :
58+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
59+
5160 - name : Upload coverage report
5261 uses : codecov/codecov-action@v5
5362 with :
5463 env_vars : OS,PYTHON_VERSION,PYDANTIC_VERSION
5564 files : ./tests/coverage.xml
5665 flags : unittests
66+ fail_ci_if_error : true
5767 env :
5868 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 44cd " $( dirname " $0 " ) /../tests"
55
66# Run the tests
7- pytest -n auto --cov-append --cov-report xml $@
7+ pytest -n auto --cov-append --cov-report xml --junitxml=./junit.xml $@
You can’t perform that action at this time.
0 commit comments