Skip to content

Commit 231b114

Browse files
committed
ci: update tests workflow to use centralized reusable workflow
1 parent 35e0773 commit 231b114

File tree

2 files changed

+42
-55
lines changed

2 files changed

+42
-55
lines changed

lib/SimpleNonlinearSolve/.github/workflows/CI.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "Tests"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- 'release-'
8+
paths-ignore:
9+
- 'docs/**'
10+
push:
11+
branches:
12+
- main
13+
paths-ignore:
14+
- 'docs/**'
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
19+
20+
env:
21+
JULIA_NUM_THREADS: 11
22+
RETESTITEMS_NWORKERS: 4
23+
RETESTITEMS_NWORKER_THREADS: 2
24+
25+
jobs:
26+
tests:
27+
name: "Tests"
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
group:
32+
- "Core"
33+
os:
34+
- "ubuntu-latest"
35+
- "macos-latest"
36+
- "windows-latest"
37+
38+
uses: "SciML/.github/.github/workflows/tests.yml@v1"
39+
with:
40+
group: "${{ matrix.group }}"
41+
os: "${{ matrix.os }}"
42+
secrets: "inherit"

0 commit comments

Comments
 (0)