Skip to content

Commit

Permalink
Schedule run only for pkp repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage committed May 23, 2024
1 parent 4b80a03 commit 73b57d8
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 73b57d8

Please sign in to comment.