Skip to content

Commit 75100a8

Browse files
committed
ci: standardise the tests workflow, using the reusable workflow
* Standardise the tests workflow, using the reusab SciML tests workflow. * Rename the tests workflow to `Tests.yml`, instead of `CI.yml`, since it's more semantically correct and CI encompasses all the workflows that are run.
1 parent 550eb77 commit 75100a8

File tree

2 files changed

+27
-44
lines changed

2 files changed

+27
-44
lines changed

.github/workflows/CI.yml

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

.github/workflows/Tests.yml

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

0 commit comments

Comments
 (0)