Skip to content

Commit

Permalink
try adding a skip gpu commit tag
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGensollen committed May 30, 2024
1 parent 571662c commit ba4f0e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ env:

jobs:
test-train-gpu:
if: github.event.pull_request.draft == false
if: |
github.event.pull_request.draft == false &&
"!contains(github.event.head_commit.message, '[skip gpu]')"
runs-on:
- self-hosted
- Linux
Expand Down

0 comments on commit ba4f0e5

Please sign in to comment.