Skip to content

Commit

Permalink
ojs ojs main main github actions support
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage committed Apr 29, 2024
1 parent 3cdeadf commit 84984f1
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
on:
push:
branches:
- '*'
pull_request:
branches:
['main']
name: ojs
jobs:
ojs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- php-version: 8.1
validate: 'validate'
- php-version: 8.1
database: pgsql
test: 'test'
- php-version: 8.1
database: mariadb
test: 'test'
- php-version: 8.1
database: mysql
test: 'test'
upgrade: 'upgrade'
upgrade_test: 'stable-3_3_0,stable-3_4_0'
- php-version: 8.2
database: mysql
test: 'test'
- php-version: 8.2
database: pgsql
test: 'test'

name: ojs
steps:
- uses: pkp/pkp-github-actions@v1
with:
node_version: 20
dataset_branch: 'main'
DEBUG_IN_TMATE: false
79 changes: 79 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
on:
schedule:
- cron: '5 5 * * *'
name: schedule
jobs:
ojs-main:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- php-version: 8.1
validate: 'validate'
- php-version: 8.1
database: pgsql
test: 'test'
SAVE_BUILD: 'save_build'
- php-version: 8.1
database: mariadb
test: 'test'
SAVE_BUILD: 'save_build'
- php-version: 8.1
database: mysql
test: 'test'
SAVE_BUILD: 'save_build'
upgrade: 'upgrade'
upgrade_test: 'stable-3_3_0,stable-3_4_0'
- php-version: 8.2
database: mysql
test: 'test'
- php-version: 8.2
database: pgsql
test: 'test'

name: ojs
steps:
- uses: pkp/pkp-github-actions@v1
with:
node_version: 20
dataset_branch: 'main'
DATASETS_ACCESS_KEY: ${{secrets.DATASETS_ACCESS_KEY}}
DEBUG_IN_TMATE: false
ojs-stable-3_4_0:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- php-version: 8.1
validate: 'validate'
- php-version: 8.1
database: pgsql
test: 'test'
SAVE_BUILD: 'save_build'
- php-version: 8.1
database: mariadb
test: 'test'
SAVE_BUILD: 'save_build'
- php-version: 8.1
database: mysql
test: 'test'
SAVE_BUILD: 'save_build'
upgrade: 'upgrade'
upgrade_test: '3.1.0,3.1.1-2,3.1.2,stable-3_2_0,stable-3_2_1,stable-3_3_0'
- php-version: 8.2
database: mysql
test: 'test'
- php-version: 8.2
database: pgsql
test: 'test'

name: ojs-stable-3_4_0
steps:
- uses: pkp/pkp-github-actions@v1
with:
node_version: 16
dataset_branch: 'stable-3_4_0'
DATASETS_ACCESS_KEY: ${{secrets.DATASETS_ACCESS_KEY}}
DEBUG_IN_TMATE: false

0 comments on commit 84984f1

Please sign in to comment.