Skip to content

Commit

Permalink
Merge pull request #4287 from withanage/ojs-main-i9214-schedule
Browse files Browse the repository at this point in the history
Schedule run only for pkp repositories
  • Loading branch information
withanage authored May 24, 2024
2 parents 4b80a03 + 73b57d8 commit c7edc04
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
on:
schedule:
- cron: '5 5 * * *'
- cron: '5 5 * * *'
name: schedule
jobs:
ojs-main:
if: github.repository == 'pkp/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'
SAVE_BUILD: 'save_build'
- php-version: 8.1
validate: 'validate'
database: mariadb
test: 'test'
SAVE_BUILD: 'save_build'
- php-version: 8.1
validate: 'validate'
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:
Expand All @@ -41,14 +37,14 @@ jobs:
DATASETS_ACCESS_KEY: ${{secrets.DATASETS_ACCESS_KEY}}
DEBUG_IN_TMATE: false
ojs-stable-3_4_0:
if: github.repository == 'pkp/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'
SAVE_BUILD: 'save_build'
Expand All @@ -57,17 +53,13 @@ jobs:
test: 'test'
SAVE_BUILD: 'save_build'
- php-version: 8.1
validate: 'validate'
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:
Expand Down

0 comments on commit c7edc04

Please sign in to comment.