From 375b061085e44afd9b9af0cbe36e06abdf34e0e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20M=2E=20Ottestad?= Date: Sun, 28 Sep 2025 20:52:05 +0200 Subject: [PATCH 1/4] Remove Dash license workflow regression test (#5458) --- .github/workflows/dash-license.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dash-license.yml b/.github/workflows/dash-license.yml index ae56c45a68f..d86fe788351 100644 --- a/.github/workflows/dash-license.yml +++ b/.github/workflows/dash-license.yml @@ -6,6 +6,8 @@ on: jobs: license-check: + if: ${{ false }} + # Disabled until ClearlyDefined throttling is resolved (see eclipse-rdf4j/rdf4j#5457) runs-on: ubuntu-latest From 673c4a5f90cbab24449b73cf772658d600d3ff5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20M=2E=20Ottestad?= Date: Mon, 29 Sep 2025 10:16:19 +0200 Subject: [PATCH 2/4] Run e2e suite in Copilot setup workflow --- .github/workflows/copilot-setup-steps.yml | 54 +++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/copilot-setup-steps.yml diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml new file mode 100644 index 00000000000..480a9f710e8 --- /dev/null +++ b/.github/workflows/copilot-setup-steps.yml @@ -0,0 +1,54 @@ +name: Copilot Setup Steps + +on: + workflow_call: + workflow_dispatch: + +permissions: + contents: read + +jobs: + setup: + name: Prepare Maven workspace and prime E2E dependencies + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + java-version: 11 + distribution: 'temurin' + cache: maven + + - name: Validate formatting configuration + run: mvn -B -T 2C formatter:validate impsort:check xml-format:xml-check + + - name: Quick compile (skip tests) + run: mvn -B -T 2C compile -DskipTests -Pquick + + - name: Download Maven dependencies for offline use + run: mvn -B -T 2C dependency:go-offline + + - name: Maven install (skip tests) + run: mvn -B clean install -DskipTests -Pquick + + - name: Install system dependencies for E2E tests + run: sudo apt-get update && sudo apt-get install -y libxml2-utils + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: 'npm' + + - name: Install Playwright dependencies for E2E tests + working-directory: ./e2e + run: | + npm install + npx playwright install --with-deps + + - name: Run end-to-end tests of RDF4J Server and Workbench + working-directory: ./e2e + run: ./run.sh From 92f2b273f60ab5e94fca1bfcc42f15c418b1b053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20M=2E=20Ottestad?= Date: Mon, 29 Sep 2025 10:19:41 +0200 Subject: [PATCH 3/4] Update .github/workflows/copilot-setup-steps.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/copilot-setup-steps.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 480a9f710e8..ab30abdccbf 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -42,6 +42,7 @@ jobs: with: node-version: 18 cache: 'npm' + cache-dependency-path: ./e2e/package-lock.json - name: Install Playwright dependencies for E2E tests working-directory: ./e2e From 851a4908990ec48decfa7067c8f3c1bcbb874562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20M=2E=20Ottestad?= Date: Mon, 29 Sep 2025 10:19:57 +0200 Subject: [PATCH 4/4] Update .github/workflows/copilot-setup-steps.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/copilot-setup-steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index ab30abdccbf..28fe890d1f7 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -32,7 +32,7 @@ jobs: run: mvn -B -T 2C dependency:go-offline - name: Maven install (skip tests) - run: mvn -B clean install -DskipTests -Pquick + run: mvn -B install -DskipTests -Pquick - name: Install system dependencies for E2E tests run: sudo apt-get update && sudo apt-get install -y libxml2-utils