-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (32 loc) · 958 Bytes
/
ci.yaml
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
name: Norma CI
on:
push:
branches:
- main # Run on pushes to the main branch
pull_request: # Run on pull requests
schedule:
- cron: '0 8 * * *' # Midnight PST (8:00 UTC)
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest] # Platforms to test
julia-version: ["1.10", "1.11"] # Julia versions to test
runs-on: ${{ matrix.os }}
steps:
# Step 1: Check out the code
- name: Check out code
uses: actions/checkout@v3
# Step 2: Set up Julia
- name: Set up Julia
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
# Step 3: Install dependencies
- name: Install dependencies
run: |
julia --project=. -e 'using Pkg; Pkg.instantiate()'
# Step 4: Run the tests
- name: Run tests
run: |
julia --project=. -e 'using Pkg; Pkg.test()'