Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule run only for pkp repositories #4287

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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