Skip to content

Commit 86da367

Browse files
authored
CI: less redundancy, push coverage (#448)
Right now PRs from non-fork branches run twice on each platform. This eliminates the redundancy. Also push coverage.
1 parent 0f2ca1a commit 86da367

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
tags: '*'
58
jobs:
69
test:
710
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -40,4 +43,8 @@ jobs:
4043
${{ runner.os }}-test-
4144
${{ runner.os }}-
4245
- uses: julia-actions/julia-buildpkg@v1
43-
- uses: julia-actions/julia-runtest@v1
46+
- uses: julia-actions/julia-runtest@v1
47+
- uses: julia-actions/julia-processcoverage@v1
48+
- uses: codecov/codecov-action@v1
49+
with:
50+
file: lcov.info

0 commit comments

Comments
 (0)