forked from SciML/BoundaryValueDiffEq.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.39 KB
/
Tests.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
54
55
name: "Tests"
on:
pull_request:
branches:
- master
- 'release-'
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
env:
RETESTITEMS_NWORKERS: 4
RETESTITEMS_NWORKER_THREADS: 2
jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
group:
- "MIRK"
- "MISC"
- "SHOOTING"
- "FIRK(EXPANDED)"
- "FIRK(NESTED)"
- "WRAPPERS"
- "BoundaryValueDiffEqFIRK"
- "BoundaryValueDiffEqMIRK"
- "BoundaryValueDiffEqShooting"
steps:
# Explicitly develop the libraries first before running the tests for now.
# This is necessary since the tests are likely to fail otherwise, given that all
# the libs haven't been registered yet.
- name: "Develop the libraries since they haven't been registered yet"
run: |
julia --project=. -e '
using Pkg;
Pkg.develop(map(path ->Pkg.PackageSpec.(;path="$(@__DIR__)/lib/$(path)"), readdir("./lib")));
'
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
group: "${{ matrix.group }}"
secrets: "inherit"