File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 55
55
run : |
56
56
pip install -e .
57
57
coverage run --source=routingpy --module pytest
58
- coverage lcov --include "routingpy/*"
58
+ coverage lcov --include "routingpy/*" --output-file=coverage.lcov
59
59
env :
60
60
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61
+
62
+ - name : Upload coverage artifact
63
+ if : matrix.python_version == '3.12'
64
+ uses : actions/upload-artifact@v4
65
+ with :
66
+ name : coverage-lcov
67
+ path : coverage.lcov
68
+
69
+ coveralls :
70
+ needs : build
71
+ runs-on : ubuntu-22.04
72
+ steps :
73
+ - uses : actions/checkout@v4
74
+ - name : Download coverage artifact
75
+ uses : actions/download-artifact@v4
76
+ with :
77
+ name : coverage-lcov
78
+ - name : Send coverage to Coveralls
79
+ uses : coverallsapp/github-action@v2
80
+ with :
81
+ github-token : ${{ secrets.GITHUB_TOKEN }}
82
+ path-to-lcov : coverage.lcov
You can’t perform that action at this time.
0 commit comments