Skip to content

Test only(Do not review): one main workflow, if fast feed back loop is success then trigger all other workflows #2

Test only(Do not review): one main workflow, if fast feed back loop is success then trigger all other workflows

Test only(Do not review): one main workflow, if fast feed back loop is success then trigger all other workflows #2

name: Lan test workflow main
on:
pull_request:
push:
branches:
- main
- nightly
- release/*
tags:
# NOTE: Binary build pipelines should only get triggered on release candidate builds
# Release candidate tags look like: v1.11.0-rc1
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
workflow_dispatch:
jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with:
package-type: wheel
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
with-rocm: false
with-cpu: false
filter-matrix:
needs: [generate-matrix]
outputs:
matrix: ${{ steps.generate.outputs.matrix }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/checkout@v4
with:
repository: pytorch/tensorrt
- name: Generate matrix
id: generate
run: |
set -eou pipefail
MATRIX_BLOB=${{ toJSON(needs.generate-matrix.outputs.matrix) }}
MATRIX_BLOB="$(python3 .github/scripts/filter-matrix.py --matrix "${MATRIX_BLOB}")"
echo "${MATRIX_BLOB}"
echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}"
trigger-linux-test:
needs: [filter-matrix]
uses: ./.github/workflows/build-test-linux-x86_64.yml
trigger-windows-test:

Check failure on line 52 in .github/workflows/build-test-all.yml

View workflow run for this annotation

GitHub Actions / Lan test workflow main

Invalid workflow file

The workflow is not valid. .github/workflows/build-test-all.yml (Line: 52, Col: 3): Error calling workflow 'pytorch/TensorRT/.github/workflows/build-test-windows.yml@d68b10f5e59efe2680612b953c5c953b42dfcfc6'. The nested job 'build' is requesting 'id-token: write', but is only allowed 'id-token: none'.
needs: [filter-matrix]
uses: ./.github/workflows/build-test-windows.yml