mirror of https://github.com/ANL-CEEESA/RELOG.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
796 B
36 lines
796 B
name: Build & Test
|
|
on:
|
|
push:
|
|
pull_request:
|
|
schedule:
|
|
- cron: '45 10 * * *'
|
|
jobs:
|
|
test:
|
|
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
version: ['1.6', '1.7', '1.8']
|
|
os:
|
|
- ubuntu-latest
|
|
arch:
|
|
- x64
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: julia-actions/setup-julia@v1
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
arch: ${{ matrix.arch }}
|
|
- name: Run tests
|
|
shell: julia --color=yes --project=test {0}
|
|
run: |
|
|
using Pkg
|
|
Pkg.develop(path=".")
|
|
Pkg.update()
|
|
using RELOGT
|
|
try
|
|
runtests()
|
|
catch
|
|
exit(1)
|
|
end
|