Skip to content

Commit 97a71b0

Browse files
authored
add nightly tests (#172)
This is just copied one-to-one from ChainRulesCore. closes #160
1 parent 937d24b commit 97a71b0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/JuliaNightly.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: JuliaNightly
2+
# Nightly Version of Julia.
3+
# Runs on PRs and pushes to `master`, but seperate workflow to `CI`
4+
# to avoid inclusion in nightly cron build with failure notifications.
5+
on:
6+
push:
7+
branches: [master]
8+
tags: ["*"]
9+
pull_request:
10+
jobs:
11+
test:
12+
name: Julia Nightly - Ubuntu - x64
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: julia-actions/setup-julia@v1
17+
with:
18+
version: nightly
19+
arch: x64
20+
- uses: actions/cache@v2
21+
env:
22+
cache-name: julia-nightly-cache-artifacts
23+
with:
24+
path: ~/.julia/artifacts
25+
key: ${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
26+
restore-keys: |
27+
${{ env.cache-name }}-
28+
- uses: julia-actions/julia-buildpkg@latest
29+
- uses: julia-actions/julia-runtest@latest
30+
- uses: julia-actions/julia-processcoverage@v1
31+
- uses: codecov/codecov-action@v1
32+
with:
33+
file: lcov.info

0 commit comments

Comments
 (0)