From efaef89ca1ce9f5d6c1c3dfd5a456f9bd7d9e65b Mon Sep 17 00:00:00 2001 From: Ricardo Costa Date: Fri, 2 Oct 2026 17:28:47 +0100 Subject: [PATCH 1/2] Test Windows and macOS platform suites --- .github/workflows/platform-tests.yml | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/workflows/platform-tests.yml diff --git a/.github/workflows/platform-tests.yml b/.github/workflows/platform-tests.yml new file mode 100644 index 0000000..5294e84 --- /dev/null +++ b/.github/workflows/platform-tests.yml @@ -0,0 +1,72 @@ +name: Platform tests + +on: + push: + branches: [codex/issue-134-platform-tests] + schedule: + - cron: '0 3 * * 1' + workflow_dispatch: + +permissions: + contents: read + +jobs: + platform: + name: Tests (${{ matrix.os }}) + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [windows-latest, macos-latest] + + defaults: + run: + shell: bash + working-directory: client + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Java + id: java + uses: actions/setup-java@v4 + with: + java-version: 21 + distribution: temurin + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + cache-dependency-path: client/package-lock.json + + - name: Install dependencies + run: npm ci + + - name: Run client unit tests + run: npm run test:unit + + - name: Type-check tests + run: npm run test:typecheck + + - name: Build server and run server unit tests + working-directory: server + run: | + mvn -B package + mkdir -p ../client/server + cp target/language-server-liquidjava.jar ../client/server/ + + - name: Run VS Code stable integration tests + env: + JAVA_HOME: ${{ steps.java.outputs.path }} + run: npm test + + - name: Upload VS Code logs + if: failure() + uses: actions/upload-artifact@v4 + with: + name: vscode-logs-${{ matrix.os }} + path: client/.vscode-test/**/logs + if-no-files-found: ignore From 6e037de438e91164a551512cf70b866ed0358fe9 Mon Sep 17 00:00:00 2001 From: Ricardo Costa Date: Fri, 2 Oct 2026 17:35:57 +0100 Subject: [PATCH 2/2] Limit platform tests to weekly and manual runs --- .github/workflows/platform-tests.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/platform-tests.yml b/.github/workflows/platform-tests.yml index 5294e84..382e1c6 100644 --- a/.github/workflows/platform-tests.yml +++ b/.github/workflows/platform-tests.yml @@ -1,8 +1,6 @@ name: Platform tests on: - push: - branches: [codex/issue-134-platform-tests] schedule: - cron: '0 3 * * 1' workflow_dispatch: