-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 952 Bytes
/
CI.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
name: Build, test and deploy
on:
push:
branches:
- main
- ci
pull_request:
branches:
- main
# Needed to allow julia-actions/cache to delete old caches
permissions:
actions: write
contents: write
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ github.event_name }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
version:
- '1.6'
- '1.7'
- '1.8'
- '1.9'
- '1.10'
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-docdeploy@v1
if: github.ref == 'refs/heads/main' && matrix.version == '1.10'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}