This repository was archived by the owner on Sep 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5959 - name : Unitest with pytest
6060 # yamllint disable rule:line-length
6161 run :
62- python -m pytest . -v -rP --doctest-modules --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml --cov-report term-missing --cov-fail-under=80 --cov=./ --cov-report html:test-coverage-${{ matrix.os }}-${{ matrix.python-version }}.html
62+ python -m pytest . -v -rP --doctest-modules --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml --cov-report term-missing --cov-fail-under=80 --cov=./ --cov-report html:test-coverage-${{ matrix.os }}-${{ matrix.python-version }}.html xml:test-coverage-${{ matrix.os }}-${{ matrix.python-version }}.xml
6363 # yamllint enable rule:line-length
6464 - name : Upload pytest test artifacts
6565 uses : actions/upload-artifact@v4
7575 # artifact for the given name already exists. Does not fail if
7676 # the artifact does not exist. Optional. Default is 'false'
7777 overwrite : false
78+ # Source: https://github.com/orgoro/coverage
79+ - name : Post Coverage Report
80+ uses : orgoro/coverage@v3.2
81+ with :
82+ coverageFile : test-coverage-${{ matrix.os }}-${{ matrix.python-version }}.xml
83+ token : ${{ secrets.GITHUB_TOKEN }}
7884 - name : Upload pytest coverage artifacts
7985 uses : actions/upload-artifact@v4
8086 with :
Original file line number Diff line number Diff line change 5454 - name : Unitest with pytest
5555 # yamllint disable rule:line-length
5656 run :
57- python -m pytest ./kyu_2 -v -rP --doctest-modules --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml --cov-report term-missing --cov-fail-under=80 --cov=./kyu_2 --cov-report xml:test-coverage-${{ matrix.os }}-${{ matrix.python-version }}.xml
58- # Source: https://github.com/orgoro/coverage
59- - name : Post Coverage Report
60- uses : orgoro/coverage@v3.2
61- with :
62- coverageFile : test-coverage-${{ matrix.os }}-${{ matrix.python-version }}.xml
63- token : ${{ secrets.GITHUB_TOKEN }}
57+ python -m pytest ./kyu_2 -v -rP --doctest-modules --cov-report term-missing --cov-fail-under=80 --cov=./kyu_2
You can’t perform that action at this time.
0 commit comments