File tree Expand file tree Collapse file tree 1 file changed +20
-29
lines changed
Expand file tree Collapse file tree 1 file changed +20
-29
lines changed Original file line number Diff line number Diff line change @@ -133,37 +133,28 @@ jobs:
133133 - run : make setup-ci
134134
135135 - name : Run tests
136- run : |
137- tox -e py
138- # tox -e py -- --discord-verbose=0 # reduce verbosity level of summary that send to discord
139-
140- coverage :
141- runs-on : ubuntu-latest
142- concurrency :
143- group : ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref_name }}-coverage
144- cancel-in-progress : true
145- timeout-minutes : 20
136+ run : tox -e cov
146137
147- steps :
148- - uses : actions/checkout@v4
138+ - name : Install coveralls
139+ run : python -m pip install --upgrade --disable-pip-version-check coveralls tomli
149140
150- - uses : actions/setup-python@v5
151- with :
152- python-version : " 3.11"
153- cache : pip
154- cache-dependency-path : |
155- setup.py
156- **/*requirements.txt
157- tox.ini
141+ - name : Upload coverage data to coveralls.io
142+ env :
143+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
144+ COVERALLS_FLAG_NAME : ${{ matrix.os }}-${{ matrix.python-version }}
145+ COVERALLS_PARALLEL : true
146+ run : coveralls
158147
159- - run : make setup-ci
148+ coveralls :
149+ name : Indicate completion to coveralls.io
150+ needs : unit-test
151+ runs-on : ubuntu-latest
152+ container : python:3-slim
160153
161- - name : Run tests
162- run : tox -e cov
154+ steps :
155+ - run : pip3 install --upgrade coveralls
163156
164- - name : Upload coverage report
165- env :
166- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
167- run : |
168- python -m pip install --upgrade --disable-pip-version-check coveralls tomli
169- coveralls --service=github
157+ - name : Finished
158+ env :
159+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
160+ run : coveralls --finish
You can’t perform that action at this time.
0 commit comments