-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: standardise workflows using SciML's reusable workflows (#289)
* ci: update invalidations workflow to use centralised reusable workflow * ci: update format check workflow to use centralised reusable workflow * ci: standardize the tests workflow, using the reusable workflow * Standardize 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. * ci(Tests): remove the `exclude` block for the test matrix Since we don't test with Julia 1.6 anyways, remove the exclude block. Note: this was initially left in while the workflow was standardised to maintain status quo (with the previous version of the workflow). * Fix deprecations * Fix more deprecations --------- Co-authored-by: David Widmann <[email protected]>
- Loading branch information
1 parent
1ad28dd
commit c78ec37
Showing
6 changed files
with
53 additions
and
155 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: "Run Tests" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }} | ||
|
||
jobs: | ||
tests: | ||
name: "Tests" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '1' | ||
arch: | ||
- x64 | ||
- x86 | ||
group: | ||
- Interface | ||
- Integrators | ||
- Regression | ||
include: | ||
- coverage: false | ||
- version: '1' | ||
arch: x64 | ||
coverage: true | ||
uses: "SciML/.github/.github/workflows/tests.yml@v1" | ||
with: | ||
group: ${{ matrix.group }} | ||
julia-version: '1' | ||
julia-arch: ${{ matrix.arch }} | ||
coverage: ${{ matrix.coverage }} | ||
secrets: "inherit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters