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 authored and avik-pal committed Sep 3, 2024
1 parent b864f6b commit 6c5e5e3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 52 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/CI.yml

This file was deleted.

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

on:
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
push:
branches:
- main
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*' }}

jobs:
tests:
name: "Tests"
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
group: "CPU"
secrets: "inherit"

0 comments on commit 6c5e5e3

Please sign in to comment.