Skip to content

Commit bfec612

Browse files
committed
ci: update tests workflow to use centralised reusable workflow
1 parent 5268233 commit bfec612

File tree

2 files changed

+35
-52
lines changed

2 files changed

+35
-52
lines changed

.github/workflows/CI.yml

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

.github/workflows/Tests.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "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+
jobs:
20+
tests:
21+
name: "Tests"
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
group:
26+
- Core
27+
- DataDrivenDMD
28+
- DataDrivenSR
29+
- DataDrivenSparse
30+
- DataDrivenLux
31+
uses: "SciML/.github/.github/workflows/tests.yml@v1"
32+
with:
33+
group: "${{ matrix.group }}"
34+
coverage-directories: "src, lib/DataDrivenDMD/src, lib/DataDrivenSparse/src, lib/DataDrivenSR/src, lib/DataDrivenLux/src"
35+
secrets: "inherit"

0 commit comments

Comments
 (0)