Skip to content

Commit

Permalink
Merge pull request #6 from withanage/main-github-actions
Browse files Browse the repository at this point in the history
Main GitHub actions
  • Loading branch information
withanage authored Jul 31, 2024
2 parents 89c07ce + b846973 commit 514247b
Show file tree
Hide file tree
Showing 3 changed files with 38 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 --headless --browser chrome --config '{"specPattern":["plugins/generic/pluginTemplate/cypress/tests/functional/*.cy.js"]}'


31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on: [push]
name: pluginTemplate
jobs:
pluginTemplate:
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: pluginTemplate
steps:
- uses: pkp/pkp-github-actions@v1
with:
node_version: 20
branch: main
repository: pkp
plugin: true

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

This file was deleted.

0 comments on commit 514247b

Please sign in to comment.