-
Notifications
You must be signed in to change notification settings - Fork 51
49 lines (49 loc) · 1.45 KB
/
JuliaNightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: JuliaNightly
# Nightly Scheduled Julia Nightly Run
on:
schedule:
- cron: '0 2 * * *' # Daily at 2 AM UTC (8 PM CST)
env:
PGDATABASE: postgres
PGUSER: postgres
PGPASSWORD: root
jobs:
test:
name: Julia Nightly - Ubuntu - x64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: nightly
arch: x64
- uses: actions/cache@v2
env:
cache-name: julia-nightly-cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ env.cache-name }}-
- uses: harmon758/postgresql-action@v1
with:
postgresql version: latest
postgresql user: ${{ env.PGUSER }}
postgresql password: ${{ env.PGPASSWORD }}
- name: Wait / Sleep
uses: jakejarvis/[email protected]
with:
time: '1m'
- name: Collect Docker Logs
uses: jwalton/[email protected]
- name: Check running containers
run: docker ps -a
- name: Set PGHOST
run: echo "PGHOST=localhost" >> $GITHUB_ENV
- run: psql -c '\conninfo'
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info