Skip to content

Fix concurrent jobs #23

Fix concurrent jobs

Fix concurrent jobs #23

Workflow file for this run

name: TorchBench PR Test
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true
jobs:
cpu-test:
uses: ./.github/workflows/_linux-test-cpu.yml
secrets:
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
cuda-test:
uses: ./.github/workflows/_linux-test-cuda.yml
secrets:
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
concurrency:

Check failure on line 23 in .github/workflows/pr-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true