Skip to content

Commit 1860121

Browse files
committed
Fix coveralls upload
1 parent 71eb92d commit 1860121

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,19 @@ jobs:
3232
arch: ${{ matrix.arch }}
3333
- uses: julia-actions/cache@v1
3434
- uses: julia-actions/julia-buildpkg@v1
35-
- uses: julia-actions/julia-runtest@v1
36-
- uses: julia-actions/julia-uploadcoveralls@v1
37-
env:
38-
COVERALLS_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
35+
- name: "Run tests"
36+
shell: bash
37+
run: |
38+
julia --color=yes --project=. -e 'import Pkg; Pkg.add("Coverage")'
39+
julia --color=yes --threads=auto --check-bounds=yes --depwarn=yes --code-coverage=user --project=. -e 'import Pkg; Pkg.test(coverage=true)'
40+
julia --color=yes --project=. coverage.jl
41+
- name: "Coveralls"
42+
uses: coverallsapp/github-action@v2
43+
with:
44+
github-token: ${{ secrets.GITHUB_TOKEN }}
45+
file: lcov.info
46+
parallel: true
47+
3948
docs:
4049
name: Documentation
4150
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)