Skip to content

Commit

Permalink
Individual test skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwoodx committed Jan 7, 2025
1 parent 45f9d46 commit e769834
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
pull_request:
branches:
- main
paths-ignore:
- assets/coverage.svg
# paths-ignore:
# - assets/coverage.svg

jobs:
tests:
runs-on: self-hosted
if: |
!(github.event.pull_request.changed_files == 1 && contains(github.event.pull_request.changed_files, 'assets/coverage.svg'))
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -65,6 +67,8 @@ jobs:
integration-tests:
needs: tests
runs-on: self-hosted
if: |
!(github.event.pull_request.changed_files == 1 && contains(github.event.pull_request.changed_files, 'assets/coverage.svg'))
env:
CUDA_VISIBLE_DEVICES: 0
steps:
Expand Down Expand Up @@ -153,6 +157,8 @@ jobs:
notebooks:
needs: tests
runs-on: self-hosted
if: |
!(github.event.pull_request.changed_files == 1 && contains(github.event.pull_request.changed_files, 'assets/coverage.svg'))
env:
CUDA_VISIBLE_DEVICES: 0
steps:
Expand Down

0 comments on commit e769834

Please sign in to comment.