From 91bda65f046a2831a591299b80d6d0fa418551a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= Date: Wed, 17 Apr 2024 10:42:04 +0200 Subject: [PATCH] GA test, init config --- .github/workflows/main.yml | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000000..7d3a1b03757 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,42 @@ +on: [push, pull_request] +name: ojs +jobs: + 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 + 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: ojs + 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 +# reset_commit: ccdc684a9f9ba5e5ef3e0726a92f78c346a6377d +