Skip to content

Commit 11e8021

Browse files
authored
Move coveralls to github actions (#2490)
1 parent 41c6cc0 commit 11e8021

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.coveragerc

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[run]
2+
relative_files = True
23
omit =
34
*test*
45

.github/workflows/push.yml

+15
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
python -m pip install --upgrade pip
4141
pip install tox>=2.0
4242
make test
43+
- name: Coveralls
44+
uses: AndreMiras/coveralls-python-action@develop
45+
if: ${{ matrix.os == 'ubuntu-latest' }}
46+
with:
47+
parallel: true
48+
flag-name: run-${{ matrix.os }}-${{ matrix.python-version }}
4349

4450
build_apk:
4551
name: Unit test apk
@@ -123,3 +129,12 @@ jobs:
123129
- name: Rebuild updated recipes
124130
run: |
125131
make docker/run/make/rebuild_updated_recipes
132+
133+
coveralls_finish:
134+
needs: test
135+
runs-on: ubuntu-latest
136+
steps:
137+
- name: Coveralls Finished
138+
uses: AndreMiras/coveralls-python-action@develop
139+
with:
140+
parallel-finished: true

0 commit comments

Comments
 (0)