Skip to content

Commit

Permalink
Update run_tests_with_gpu.yml to handle concurrent runs
Browse files Browse the repository at this point in the history
  • Loading branch information
movchan74 authored Sep 27, 2024
1 parent d4ac804 commit 4a8371c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/run_tests_with_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Run Tests with GPU
on:
workflow_dispatch: # Allows for manual triggering

concurrency:
group: run-tests-gpu # Fixed group name to ensure only one instance runs
cancel-in-progress: false

jobs:
test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -30,4 +34,4 @@ jobs:
- name: Run tests with GPU
run: |
HF_TOKEN=${{ secrets.HF_TOKEN }} dstack apply -f tests.dstack.yml --force -y
HF_TOKEN=${{ secrets.HF_TOKEN }} dstack apply -f tests.dstack.yml --force -y

0 comments on commit 4a8371c

Please sign in to comment.