Skip to content

Commit

Permalink
Merge pull request #95 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 31, 2024
2 parents eefd297 + c152fbb commit 20a8400
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 47 deletions.
8 changes: 8 additions & 0 deletions .github/actions/tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

set -e

npx cypress run --spec "cypress/tests/data/10-ApplicationSetup/*.cy.js,cypress/tests/data/60-content/VkarbasizaedSubmission.cy.js"

npx cypress run --config specPattern=plugins/themes/pragma/cypress/tests/functional

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: pragma
jobs:
pragma:
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: pragma
steps:
- uses: pkp/pkp-github-actions@v1
with:
node_version: 20
branch: main
repository: pkp
plugin: true

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

This file was deleted.

0 comments on commit 20a8400

Please sign in to comment.