Skip to content

Commit

Permalink
ci: standardize the tests workflow, using the reusable workflow
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
thazhemadam committed Apr 23, 2024
1 parent 1f69d31 commit 76b4a98
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 82 deletions.
82 changes: 0 additions & 82 deletions .github/workflows/CI.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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
exclude: # test 32bit only with Julia 1 but not LTS
- version: '1.6'
arch: x86
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
group: ${{ matrix.group }}
julia-version: '1'
julia-arch: ${{ matrix.arch }}
coverage: ${{ matrix.coverage }}
secrets: "inherit"

0 comments on commit 76b4a98

Please sign in to comment.