Skip to content

Commit 778bde3

Browse files
authored
Merge pull request #1386 from IntelPython/fix/coveralls
Use official github actions for coveralls
2 parents c991485 + 4ff3ada commit 778bde3

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ on:
44
branches:
55
- main
66
pull_request:
7-
paths:
8-
- 'numba_dpex/**'
9-
- environment/coverage.yml
10-
- pyproject.toml
117

128
permissions: read-all
139

@@ -58,31 +54,8 @@ jobs:
5854
# Ignoring test due to opencl driver optimization bug
5955
- name: Run tests with coverage
6056
run: |
61-
pytest -q --cov --cov-report term-missing --pyargs numba_dpex \
57+
pytest -q --cov --cov-report xml --pyargs numba_dpex \
6258
-k 'not test_1d_strided_dpnp_array_in_kernel[2]'
6359
64-
- name: Install coveralls
65-
shell: bash -l {0}
66-
run: |
67-
pip install coveralls
68-
69-
- name: Upload coverage data to coveralls.io
70-
run: |
71-
coveralls --service=github
72-
env:
73-
GITHUB_TOKEN: ${{ secrets.github_token }}
74-
COVERALLS_PARALLEL: true
75-
76-
coveralls:
77-
name: Indicate completion to coveralls.io
78-
needs: main
79-
runs-on: ubuntu-latest
80-
container: python:3-slim
81-
steps:
82-
- name: Coveralls Finished
83-
run: |
84-
pip3 install --upgrade coveralls
85-
coveralls --finish
86-
env:
87-
GITHUB_TOKEN: ${{ secrets.github_token }}
88-
COVERALLS_PARALLEL: true
60+
- name: Coveralls
61+
uses: coverallsapp/github-action@v2

0 commit comments

Comments
 (0)