-
-
Notifications
You must be signed in to change notification settings - Fork 294
53 lines (47 loc) · 1.65 KB
/
Test.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
45
46
47
48
49
50
51
52
53
name: Pluto backend tests
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
workflow_dispatch:
push:
paths-ignore:
- "frontend/**"
- "frontend-bundler/**"
- "frontend-dist/**"
- "test/frontend/**"
- "**.md"
branches:
- main
pull_request:
paths-ignore:
- "frontend/**"
- "frontend-bundler/**"
- "frontend-dist/**"
- "test/frontend/**"
- "**.md"
branches-ignore:
- release
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 50
strategy:
# Without setting this, a failing test cancels all others
fail-fast: false
matrix:
# We test quite a lot of versions because we do some OS and version specific things unfortunately
julia-version: ["1.6", "1.8", "1.10", "nightly"] # "~1.11.0-0"]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Makes the `julia` command available
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/cache@v1
# 🚗
- uses: julia-actions/julia-runtest@v1
with:
coverage: false