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 May 2, 2024
1 parent 4b67eb2 commit 9d8908b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 46 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/CI.yml

This file was deleted.

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

on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'
schedule:
- cron: '24 22 * * 0'

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:
os:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
os: "${{ matrix.os }}"
secrets: "inherit"

0 comments on commit 9d8908b

Please sign in to comment.