From a9d6262e712065c3abcd9d9359ee5cc5e2886fcb Mon Sep 17 00:00:00 2001 From: Ninad Sinha Date: Fri, 15 May 2026 00:35:08 -0700 Subject: [PATCH 1/2] Update integration test --- .github/workflows/integration-tests.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 7a656d6e..764bb47c 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -14,27 +14,42 @@ permissions: jobs: integration-tests: - runs-on: depot-ubuntu-24.04-16 + name: integration-tests + runs-on: ubuntu-24.04 steps: + - name: PR placeholder + if: github.event_name == 'pull_request' + run: echo "Integration tests run only in the merge queue." + - name: Check out repository - uses: actions/checkout@v6 + if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' + uses: actions/checkout@v5 - name: Set up Python + if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' uses: actions/setup-python@v6 with: python-version: "3.12" - name: Install Poetry + if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' run: python -m pip install --upgrade pip poetry - name: Show tool versions + if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' run: | python --version poetry --version - name: Install dependencies + if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' run: poetry install --with dev --no-interaction + - name: Build package + if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' + run: poetry build + - name: Run integration tests + if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' run: poetry run pytest tests/integration From 812fa0267a72b09f5584857bbefa8837839e3850 Mon Sep 17 00:00:00 2001 From: Ninad Sinha Date: Fri, 15 May 2026 06:13:23 -0700 Subject: [PATCH 2/2] Fix stuff --- .github/workflows/integration-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 764bb47c..c4efd116 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -1,6 +1,8 @@ name: Integration Tests on: + pull_request: + branches: [main] merge_group: types: [checks_requested] workflow_dispatch: @@ -24,7 +26,7 @@ jobs: - name: Check out repository if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Set up Python if: github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch'