Skip to content

Commit

Permalink
ci: update tests workflow to use centralised reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thazhemadam committed Aug 20, 2024
1 parent c62a5fa commit 82f4003
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/CI.yml

This file was deleted.

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

on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}

env:
JULIA_NUM_THREADS: 11

jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
version:
- '<1.10.3 || >=1.10.4'
- '1.6'
group:
- 'Core'
- 'ModelingToolkitSIExt'
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
group: "${{ matrix.group }}"
julia-version: "${{ matrix.version }}"
secrets: "inherit"

0 comments on commit 82f4003

Please sign in to comment.