JuliaNightly #1457
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |