From 5a8196ed72a1e60eefb26b5f72ba492560882fd4 Mon Sep 17 00:00:00 2001 From: Kaitlin Newson Date: Thu, 24 Jul 2025 14:40:13 -0300 Subject: [PATCH 1/2] update workflows for stable-3_4_0 --- .github/workflows/{main.yml => stable-3_4_0.yml} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename .github/workflows/{main.yml => stable-3_4_0.yml} (95%) diff --git a/.github/workflows/main.yml b/.github/workflows/stable-3_4_0.yml similarity index 95% rename from .github/workflows/main.yml rename to .github/workflows/stable-3_4_0.yml index b7589e8..7202c78 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/stable-3_4_0.yml @@ -1,4 +1,4 @@ -on: [push] +on: [push, pull_request] name: customHeader jobs: customHeader: @@ -43,12 +43,11 @@ jobs: - application: ops php-version: 8.2 database: pgsql - name: customHeader steps: - uses: pkp/pkp-github-actions@v1 with: node_version: 20 - branch: main + branch: 'stable-3_4_0' repository: pkp plugin: true From 3f7acefa30b46803b0e4a3d1160edc3cbb8de92e Mon Sep 17 00:00:00 2001 From: Kaitlin Newson Date: Thu, 24 Jul 2025 15:46:32 -0300 Subject: [PATCH 2/2] Fix tests --- .github/actions/tests.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/actions/tests.sh b/.github/actions/tests.sh index 2482793..3cb545e 100755 --- a/.github/actions/tests.sh +++ b/.github/actions/tests.sh @@ -1,9 +1,5 @@ #!/bin/bash set -e - -npx cypress run --spec "cypress/tests/data/10-Installation.spec.js,cypress/tests/data/20-CreateContext.spec.js" - -npx cypress run --headless --browser chrome --config '{"specPattern":["plugins/generic/customHeader/cypress/tests/functional/*.cy.js"]}' - - +npx cypress run --spec "cypress/tests/data/10-ApplicationSetup/*.cy.js" +npx cypress run --config specPattern=plugins/generic/customHeader/cypress/tests/functional