Skip to content

Commit 08f0f7a

Browse files
authored
Another fix for CI job refactoring (#9237)
Fixing #9227 matrix.timeout is not populated. Just hard-code the value now. Also fix another cleanup DEMO_BACKEND_ID is not there anymore. Test Plan: Make sure there are 6 jobs (test-models-linux) in the pull.yml category.
1 parent 9b2cb87 commit 08f0f7a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pull.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
docker-image: executorch-ubuntu-22.04-clang12
5757
submodules: 'true'
5858
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
59-
timeout: ${{ matrix.timeout }}
59+
timeout: 90
6060
script: |
6161
# The generic Linux job chooses to use base env, not the one setup by the image
6262
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
@@ -65,11 +65,10 @@ jobs:
6565
MODEL_NAME=${{ matrix.model }}
6666
BUILD_TOOL=${{ matrix.build-tool }}
6767
BACKEND=${{ matrix.backend }}
68-
DEMO_BACKEND_DELEGATION=${{ matrix.demo_backend_delegation }}
6968
7069
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
7170
# Build and test ExecuTorch
72-
PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}" "${DEMO_BACKEND_DELEGATION}"
71+
PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}"
7372
7473
test-llama-runner-linux:
7574
name: test-llama-runner-linux

0 commit comments

Comments
 (0)