File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # .github/workflows/main.yml
2+ name : Plugin CI
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ app-version :
13+ - ' 3.3.0'
14+ - ' stable-3_3_0'
15+ php-version :
16+ - ' 7.4'
17+ steps :
18+ - name : Checkout plugin
19+ uses : actions/checkout@v3
20+ - name : Setup OJS
21+ uses : pkp/pkp-github-actions/main@v0
22+ with :
23+ app : ojs
24+ app-version : ${{ matrix.app-version }}
25+ php-version : ${{ matrix.php-version }}
26+ plugin-name : ashSecurityHeaders
27+ run : |
28+
29+ - name : Calculate MD5 Hash
30+ run : |
31+ echo "Calculating MD5 hash for the release package..."
32+ md5sum releases/ashSecurityHeaders*.tar.gz
33+
34+
35+ - name : Run Cypress tests
36+ run : |
37+ npx cypress run --spec 'plugins/generic/ashSecurityHeaders/cypress/tests/*.cy.js'
You can’t perform that action at this time.
0 commit comments