Skip to content

Commit

Permalink
Only run macOS tests on merge (#1183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Gonzalez-Martin authored May 31, 2023
1 parent 5477694 commit 839f8d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ jobs:
- huggingface
- alibi-explain
- alibi-detect
is-pr:
- ${{ github.event_name == 'pull_request' }}
exclude:
# MacOS tests take a lot of time, so we will run them only on merge
# From https://github.com/orgs/community/discussions/26253
- is-pr: true
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Setup docker (missing on MacOS)
Expand Down

0 comments on commit 839f8d7

Please sign in to comment.