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 88e5b9c commit 96ea99d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/CI.yml

This file was deleted.

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

on:
pull_request:
branches:
- master
- 'release-'
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*' }}

jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
group:
- Core
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
group: "${{ matrix.group }}"
coverage-directories: "src,lib/SurrogatesAbstractGPs/src,lib/SurrogatesFlux/src,lib/SurrogatesMOE/src,lib/SurrogatesPolyChaos/src,lib/SurrogatesRandomForest/src,lib/SurrogatesSVM/src"
secrets: "inherit"

0 comments on commit 96ea99d

Please sign in to comment.