From f3d2b8bb57a4d79e5d011810f316410b1905f7d1 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Sun, 14 Jun 2026 23:35:02 +0200 Subject: [PATCH] ci: install pql in the test / integration / bundle jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The daemon pql command tests (test/daemon/pql_commands_test.dart, 36 cases) shell out to the real pql binary, and the app boot exercises it too — GitHub runners don't ship pql. Every prior run failed in the parallel pool before reaching the serial pass that holds these tests; now that the pool is green, they surface. Download the latest pql Linux release onto PATH in the three jobs that run tests / boot the app. (The repo is pql-centric; this also future-proofs adding the decisions gate to CI.) Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1755311..1563659a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,14 @@ jobs: - uses: subosito/flutter-action@v2 with: { channel: stable, cache: true } - run: flutter pub get + - name: install pql + env: + GH_TOKEN: ${{ github.token }} + run: | + gh release download --repo postmeridiem/pql --pattern 'pql_*_Linux_x86_64.tar.gz' --output /tmp/pql.tgz + tar -xzf /tmp/pql.tgz -C /tmp + sudo install -m 0755 /tmp/pql /usr/local/bin/pql + pql --version # test-coverage runs the full fast suite WITH coverage (it includes the # a11y suite — see the push-check note in the Makefile), which is what # coverage-gate consumes. @@ -39,6 +47,14 @@ jobs: with: { channel: stable, cache: true } - run: sudo apt-get update && sudo apt-get install -y xvfb ninja-build libgtk-3-dev - run: flutter pub get + - name: install pql + env: + GH_TOKEN: ${{ github.token }} + run: | + gh release download --repo postmeridiem/pql --pattern 'pql_*_Linux_x86_64.tar.gz' --output /tmp/pql.tgz + tar -xzf /tmp/pql.tgz -C /tmp + sudo install -m 0755 /tmp/pql /usr/local/bin/pql + pql --version - uses: coactions/setup-xvfb@v1 with: { run: make test-integration } @@ -52,6 +68,14 @@ jobs: with: { channel: stable, cache: true } - run: sudo apt-get update && sudo apt-get install -y xvfb ninja-build libgtk-3-dev - run: flutter pub get + - name: install pql + env: + GH_TOKEN: ${{ github.token }} + run: | + gh release download --repo postmeridiem/pql --pattern 'pql_*_Linux_x86_64.tar.gz' --output /tmp/pql.tgz + tar -xzf /tmp/pql.tgz -C /tmp + sudo install -m 0755 /tmp/pql /usr/local/bin/pql + pql --version - run: make smoke-bundle # The web-WASM Playwright job is withheld: `flutter build web --wasm` cannot