Skip to content

Commit d4fcf61

Browse files
committed
try skip codecov on nightly CI
1 parent fad0f86 commit d4fcf61

File tree

1 file changed

+39
-2
lines changed

1 file changed

+39
-2
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- develop
88
- release**
99
jobs:
10-
test:
10+
test-stable:
1111
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
1212
runs-on: ${{ matrix.os }}
1313
env:
@@ -17,7 +17,6 @@ jobs:
1717
matrix:
1818
version:
1919
- '1.6'
20-
- 'nightly'
2120
os:
2221
- ubuntu-latest
2322
arch:
@@ -49,6 +48,44 @@ jobs:
4948
with:
5049
file: lcov.info
5150

51+
# hacky way to remove code coverage from nightly
52+
test-nightly-nocov:
53+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
54+
runs-on: ${{ matrix.os }}
55+
env:
56+
JULIA_PKG_SERVER: ""
57+
strategy:
58+
fail-fast: false
59+
matrix:
60+
version:
61+
- 'nightly'
62+
os:
63+
- ubuntu-latest
64+
arch:
65+
- x64
66+
steps:
67+
- uses: actions/checkout@v2
68+
- uses: julia-actions/setup-julia@v1
69+
with:
70+
version: ${{ matrix.version }}
71+
arch: ${{ matrix.arch }}
72+
- uses: actions/cache@v1
73+
env:
74+
cache-name: cache-artifacts
75+
with:
76+
path: ~/.julia/artifacts
77+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
78+
restore-keys: |
79+
${{ runner.os }}-test-${{ env.cache-name }}-
80+
${{ runner.os }}-test-
81+
${{ runner.os }}-
82+
- uses: julia-actions/julia-buildpkg@latest
83+
- run: |
84+
git config --global user.name Tester
85+
git config --global user.email [email protected]
86+
- uses: julia-actions/julia-runtest@latest
87+
continue-on-error: ${{ matrix.version == 'nightly' }}
88+
5289
upstream-dev:
5390
#if: github.ref != 'refs/heads/release**'
5491
name: Upstream Dev

0 commit comments

Comments
 (0)