Skip to content

Commit

Permalink
Add github ations for OJS 3.3 (#4319)
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage authored Jun 17, 2024
1 parent 1206530 commit 8dd121b
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 1 deletion.
57 changes: 57 additions & 0 deletions .github/workflows/stable-3_3_0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
on:
push:
branches:
- '*'
pull_request:
branches:
['stable-3_3_0']
name: ojs
jobs:
ojs:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- php-version: 8.0
validate: 'validate'
- php-version: 7.3
database: pgsql
test: 'test'
- php-version: 7.3
database: mysql
test: 'test'
- php-version: 7.4
database: pgsql
test: 'test'
- php-version: 7.4
database: mysql
test: 'test'
- php-version: 8.0
database: mysql
test: 'test'
- php-version: 8.0
database: pgsql
test: 'test'
- php-version: 8.1
database: mysql
test: 'test'
- php-version: 8.1
database: pgsql
test: 'test'
- 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: 12
dataset_branch: 'stable-3_3_0'
DATASETS_ACCESS_KEY: ${{secrets.DATASETS_ACCESS_KEY}}
DEBUG_IN_TMATE: false
4 changes: 3 additions & 1 deletion cypress/tests/data/60-content/AmwandengaSubmission.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ describe('Data suite tests', function() {
cy.get('#contributors-grid #component-grid-users-author-authorgrid-row-3 .show_extras').click();
cy.get('#component-grid-users-author-authorgrid-row-3-control-row [id*="editAuthor-button"]').click();
cy.wait(1500); // Wait for the form to settle
cy.get('[name="familyName[en_US]"]').type(' Version 2', {delay: 0});
cy.get('[name="familyName[en_US]"]').type(' Version 2', {delay: 5});
cy.get('[id^="submitFormButton"]').contains('Save').click();
cy.contains('Author edited.');
cy.wait(1500); // Wait for the grid to reload
Expand All @@ -263,7 +263,9 @@ describe('Data suite tests', function() {
cy.contains('Add galley');
cy.get('#representations-grid .show_extras').click();
cy.get('[id*="editGalley-button"]').click();
cy.wait(1500);
cy.get('#editArticleGalleyMetadataTabs [name="label"]').type(' Version 2');
cy.wait(1500);
cy.get('#editArticleGalleyMetadataTabs [name="urlPath"]').type('pdf');
cy.get('#articleGalleyForm button').contains('Save').click();
cy.wait(1500);
Expand Down

0 comments on commit 8dd121b

Please sign in to comment.