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

ojs github actions support #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
56 changes: 56 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
on:
push:
pull_request:
schedule:
- cron: "30 12 * * *"

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: echo
steps:
- name: 'echo'
run: |
echo ${{ github.event.head_commit.message }}
echo ${{toJSON(github.pull_request)}}
shell: bash




# name: ojs
# 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