From 07381bd3d3b63dfd74cc7f1903d3848f591bc748 Mon Sep 17 00:00:00 2001 From: Yoink3000 Date: Mon, 1 Jul 2024 00:36:57 +0800 Subject: [PATCH] use matrix to test installation w/wo uv --- .github/workflows/on_pull_request.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/on_pull_request.yaml b/.github/workflows/on_pull_request.yaml index 938713ac7..5b00eec65 100644 --- a/.github/workflows/on_pull_request.yaml +++ b/.github/workflows/on_pull_request.yaml @@ -7,6 +7,12 @@ on: jobs: lint: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + flags: + - --debug --test --uv + - --debug --test steps: - name: checkout-code uses: actions/checkout@main @@ -27,10 +33,5 @@ jobs: msg: apply code formatting and linting auto-fixes - name: test-startup run: | - export COMMANDLINE_ARGS="--debug --test" - python launch.py - - name: test-startup-with-uv - run: | - rm -rf venv - export COMMANDLINE_ARGS="--debug --test --uv" + export COMMANDLINE_ARGS="${{ matrix.flags }}" python launch.py