-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1.39 KB
/
runtests.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
name: CI
# From: https://github.com/JuliaDocs/Documenter.jl/blob/master/.github/workflows/CI.yml
# + https://discourse.julialang.org/t/easy-workflow-file-for-setting-up-github-actions-ci-for-your-julia-package/49765
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.x"
os:
- ubuntu-latest
#- macos-latest # avoid buring github actions hours
#- windows-latest # avoid buring github actions hours
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
show-versioninfo: true
- run: |
julia -e '
using Pkg
Pkg.activate(".")
dependencies = PackageSpec[]
for package in ("IMASDD", "CoordinateConventions", "MillerExtendedHarmonic")
push!(dependencies, PackageSpec(url="https://project-torrey-pines:${{secrets.PTP_READ_TOKEN}}@github.com/ProjectTorreyPines/$package.jl.git"))
end
Pkg.add(dependencies)
'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1