-
Notifications
You must be signed in to change notification settings - Fork 20
42 lines (40 loc) · 1.15 KB
/
CI.yml
File metadata and controls
42 lines (40 loc) · 1.15 KB
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
name: CI
on:
workflow_call:
inputs:
test_args:
required: true
type: string
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "min"
- "1.11"
- "1" # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
- "pre"
os:
- ubuntu-latest
arch:
- default
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v3
- name: Add AstroRegistry
shell: julia --project=. --color=yes {0}
run: |
import Pkg
Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/astro-group-bristol/AstroRegistry/"))
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
test_args: ${{ inputs.test_args }}
coverage: false