Skip to content

Commit 82f4003

Browse files
committed
ci: update tests workflow to use centralised reusable workflow
1 parent c62a5fa commit 82f4003

File tree

2 files changed

+38
-45
lines changed

2 files changed

+38
-45
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/Tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: "Run Tests"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
paths-ignore:
8+
- 'docs/**'
9+
push:
10+
branches:
11+
- master
12+
paths-ignore:
13+
- 'docs/**'
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
18+
19+
env:
20+
JULIA_NUM_THREADS: 11
21+
22+
jobs:
23+
tests:
24+
name: "Tests"
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
version:
29+
- '<1.10.3 || >=1.10.4'
30+
- '1.6'
31+
group:
32+
- 'Core'
33+
- 'ModelingToolkitSIExt'
34+
uses: "SciML/.github/.github/workflows/tests.yml@v1"
35+
with:
36+
group: "${{ matrix.group }}"
37+
julia-version: "${{ matrix.version }}"
38+
secrets: "inherit"

0 commit comments

Comments
 (0)