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 bf4f8a6 commit 70e97d9
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 82 deletions.
82 changes: 0 additions & 82 deletions .github/workflows/CI.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "Run Tests"

on:
push:
branches:
- master
- 'at/reusable-ci-workflows'
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 70e97d9

Please sign in to comment.