Skip to content

Commit

Permalink
Merge pull request #85 from withanage/stable-3_4_0-github-actions
Browse files Browse the repository at this point in the history
Add github actions support for stable-3_4_0
  • Loading branch information
withanage authored Jul 30, 2024
2 parents ab218be + 1b82b95 commit 7beda7d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 50 deletions.
7 changes: 7 additions & 0 deletions .github/actions/tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -e
npx cypress run --spec "cypress/tests/data/10-ApplicationSetup/10-Installation.cy.js,cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js"
npx cypress run --headless --browser chrome --config '{"specPattern":["plugins/generic/customBlockManager/cypress/tests/functional/*.cy.js"]}'


35 changes: 35 additions & 0 deletions .github/workflows/stable-3_4_0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on: [push, pull_request]
name: customBlockManager
jobs:
customBlockManager:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- application: ojs
php-version: 8.1
database: mysql
- application: ojs
php-version: 8.2
database: mysql
- application: ojs
php-version: 8.2
database: pgsql
- application: ojs
php-version: 8.2
database: pgsql


name: customBlockManager
steps:
- uses: pkp/pkp-github-actions@v1
with:
node_version: 16
branch: stable-3_4_0
repository: pkp
plugin: true




50 changes: 0 additions & 50 deletions .travis.yml

This file was deleted.

0 comments on commit 7beda7d

Please sign in to comment.