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 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