Skip to content

Commit

Permalink
v1
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage committed Dec 8, 2023
1 parent 0fbed14 commit b14d971
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
on: [push,pull_request]
name: ojs
jobs:
validate:
name: validate
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: [ '8.1','8.2' ]
steps:
- uses: withanage/validate-action@v1
with:
application: '${{ github.event.repository.name }}'
repository: '${{github.repository_owner}}'
branch: '${{ github.head_ref || github.ref_name }}'
test:
name: test
runs-on: ubuntu-latest
needs: validate
strategy:
fail-fast: false
matrix:
php-version: [ '8.1','8.2' ]
database: [ 'pgsql', 'mysql','mariadb']
steps:
- uses: actions/checkout@v4

- uses: withanage/test-action@v1
with:
application: '${{ github.event.repository.name }}'
repository: '${{github.repository_owner}}'
branch: '${{ github.head_ref || github.ref_name }}'
upgrade:
name: upgrade
runs-on: ubuntu-latest
needs: test
strategy:
fail-fast: false
matrix:
dataset-branch: [ 'stable-3_4_0','stable-3_3_0','stable-3_2_1','stable-3_2_0' ]
database: [ 'pgsql','mysql']
php-version: [ '8.1' ]

steps:
- uses: withanage/upgrade-action@v1
with:
application: '${{ github.event.repository.name }}'
repository: '${{github.repository_owner}}'
branch: '${{ github.head_ref || github.ref_name }}'

0 comments on commit b14d971

Please sign in to comment.