Skip to content

Commit

Permalink
Skip slow tests in macos-13
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Dec 10, 2024
1 parent 9dfe0af commit 3ac53ca
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,19 @@ jobs:
~/.crabs-exploration-test-data/*
key: cached-test-data
enableCrossOsArchive: true
- uses: neuroinformatics-unit/actions/test@v2
- name: Run all tests except marked as slow in macos-13
# this is because we observed macos-13 runners in CI
# are sometimes x2 as slow as the others. See
# https://github.com/actions/runner-images/issues/3885#issuecomment-1848423579
if : matrix.os == 'macos-13'
uses: neuroinformatics-unit/actions/test@v2
with:
python-version: ${{ matrix.python-version }}
secret-codecov-token: ${{ secrets.CODECOV_TOKEN }}
tox-args: "-- -m 'not slow'"
- name: Run all tests
if : ! ${{ matrix.os == 'macos-13' }}
uses: neuroinformatics-unit/actions/test@v2
with:
python-version: ${{ matrix.python-version }}
secret-codecov-token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 3ac53ca

Please sign in to comment.