diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml new file mode 100644 index 00000000000..2495fe9215a --- /dev/null +++ b/.github/workflows/schedule.yml @@ -0,0 +1,97 @@ +on: + schedule: + - cron: '5 5 * * *' +name: schedule +jobs: + omp-main: + if: github.repository == 'pkp/omp' + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - php-version: 8.1 + validate: 'validate' + 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' + + name: omp + steps: + - uses: xmlFlow/pkp-github-actions@v1 + with: + node_version: 20 + dataset_branch: 'main' + DATASETS_ACCESS_KEY: ${{secrets.DATASETS_ACCESS_KEY}} + DEBUG_IN_TMATE: false + omp-stable-3_4_0: + if: github.repository == 'pkp/omp' + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - php-version: 8.1 + validate: 'validate' + database: pgsql + test: 'test' + SAVE_BUILD: 'save_build' + - php-version: 8.1 + 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: '3.1.0,3.1.1-2,3.1.2,stable-3_2_0,stable-3_2_1,stable-3_3_0' + + + name: omp-stable-3_4_0 + steps: + - uses: xmlFlow/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 + + omp-stable-3_3_0: + if: github.repository == 'pkp/omp' + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - php-version: 7.4 + validate: 'validate' + database: pgsql + test: 'test' + SAVE_BUILD: 'save_build' + - php-version: 7.4 + database: mysql + test: 'test' + SAVE_BUILD: 'save_build' + + name: omp-stable-3_0 + steps: + - uses: xmlFlow/pkp-github-actions@v1 + with: + node_version: 12 + dataset_branch: 'stable-3_3_0' + DATASETS_ACCESS_KEY: ${{secrets.DATASETS_ACCESS_KEY}} + DEBUG_IN_TMATE: false diff --git a/.github/workflows/stable-3_3_0.yml b/.github/workflows/stable-3_3_0.yml index 64d731d618f..240625427b4 100644 --- a/.github/workflows/stable-3_3_0.yml +++ b/.github/workflows/stable-3_3_0.yml @@ -30,9 +30,11 @@ jobs: - php-version: 8.0 database: mysql test: 'test' + SAVE_BUILD: 'save_build' - php-version: 8.0 database: pgsql test: 'test' + SAVE_BUILD: 'save_build' - php-version: 8.1 database: mysql test: 'test' @@ -45,9 +47,11 @@ jobs: - php-version: 8.2 database: pgsql test: 'test' + + name: omp steps: - - uses: pkp/pkp-github-actions@v1 + - uses: xmlFlow/pkp-github-actions@v1 with: node_version: 12 dataset_branch: 'stable-3_3_0'