Skip to content

Commit

Permalink
Merge pull request #83 from withanage/main-github-actions
Browse files Browse the repository at this point in the history
Add github actions support for main
  • Loading branch information
withanage authored Jul 30, 2024
2 parents 9d92d83 + 6e7e6e7 commit 8b9fa24
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 49 deletions.
6 changes: 6 additions & 0 deletions .github/actions/tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/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"]}'

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


name: customBlockManager
steps:
- uses: xmlFlow/pkp-github-actions@v1
with:
node_version: 20
branch: main
repository: pkp
plugin: true



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

This file was deleted.

0 comments on commit 8b9fa24

Please sign in to comment.