Skip to content

Commit

Permalink
Merge pull request #669 from withanage/ops-main-i9214-github-actions-…
Browse files Browse the repository at this point in the history
…support

ops ops main main github actions support
  • Loading branch information
withanage authored Apr 29, 2024
2 parents 1df8238 + c945adf commit e6a5124
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: ops
jobs:
ops:
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: ops
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:
ops-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: ops
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
ops-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: ops-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 e6a5124

Please sign in to comment.