Skip to content

[Backend Tester] Refactor workflows into one workflow per backend #2

[Backend Tester] Refactor workflows into one workflow per backend

[Backend Tester] Refactor workflows into one workflow per backend #2

name: Test Vulkan Backend
on:
schedule:
- cron: 0 2 * * *
push:
tags:
- ciflow/nightly/*
pull_request:
paths:
- .github/workflows/test-backend-vulkan.yml
- .github/workflows/_test_backend.yml
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}--${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true
jobs:
test-vulkan:

Check failure on line 20 in .github/workflows/test-backend-vulkan.yml

View workflow run for this annotation

GitHub Actions / Test Vulkan Backend

Invalid workflow file

The workflow is not valid. .github/workflows/test-backend-vulkan.yml (Line: 20, Col: 3): Error calling workflow 'pytorch/executorch/.github/workflows/_test_backend.yml@953416040bb6988bc3f7ecd0f9bd83e295a5503d'. The nested job 'test-backend-linux' is requesting 'id-token: write', but is only allowed 'id-token: none'. .github/workflows/test-backend-vulkan.yml (Line: 20, Col: 3): Error calling workflow 'pytorch/executorch/.github/workflows/_test_backend.yml@953416040bb6988bc3f7ecd0f9bd83e295a5503d'. The nested job 'test-backend-macos' is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: ./.github/workflows/_test_backend.yml
with:
backend: vulkan
flows: '["vulkan", "vulkan_static_int8_per_channel"]'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: 120
run-linux: true