Skip to content

Commit

Permalink
Merge pull request #5 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 1baa7f2 + 53271dd commit aa04133
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 61 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/webFeed/cypress/tests/functional/*.cy.js"]}'


55 changes: 55 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
on: [push]
name: webFeed
jobs:
webFeed:
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
- application: omp
php-version: 8.3
database: mysql
- application: omp
php-version: 8.2
database: mysql
- application: omp
php-version: 8.3
database: pgsql
- application: omp
php-version: 8.2
database: pgsql
- application: ops
php-version: 8.3
database: mysql
- application: ops
php-version: 8.2
database: mysql
- application: ops
php-version: 8.3
database: pgsql
- application: ops
php-version: 8.2
database: pgsql

name: webFeed
steps:
- uses: pkp/pkp-github-actions@v1
with:
node_version: 20
branch: main
repository: pkp
plugin: true
dataset_inject: true
61 changes: 0 additions & 61 deletions .travis.yml

This file was deleted.

0 comments on commit aa04133

Please sign in to comment.