Skip to content

Commit ec62607

Browse files
authored
Create JuliaNightly.yml
1 parent 02ef46e commit ec62607

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/JuliaNightly.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
#source: https://github.com/invenia/PkgTemplates.jl/blob/master/.github/workflows/JuliaNightly.yml
3+
name: JuliaNightly
4+
# Nightly Scheduled Julia Nightly Run
5+
on:
6+
schedule:
7+
- cron: '0 2 * * *' # Daily at 2 AM UTC (8 PM CST)
8+
jobs:
9+
test:
10+
name: Julia Nightly - Ubuntu - x64
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os:
16+
- ubuntu-latest
17+
- macOS-latest
18+
- windows-latest
19+
arch:
20+
- x64
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: julia-actions/setup-julia@v1
24+
with:
25+
version: nightly
26+
- uses: actions/cache@v2
27+
env:
28+
cache-name: julia-nightly-cache-artifacts
29+
with:
30+
path: ~/.julia/artifacts
31+
key: ${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
32+
restore-keys: |
33+
${{ env.cache-name }}-
34+
- uses: julia-actions/julia-buildpkg@latest
35+
- run: |
36+
git config --global user.name Tester
37+
git config --global user.email te@st.er
38+
- uses: julia-actions/julia-runtest@latest
39+
- uses: julia-actions/julia-processcoverage@v1
40+
- uses: codecov/codecov-action@v1
41+
with:
42+
file: lcov.info

0 commit comments

Comments
 (0)