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

Run v3.1.1 tests on develop #292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions .github/workflows/e2e-test-wp57.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: e2e-test-wp57
on:
push:
branches: [ v3-commands, master ]
branches: [ master ]
pull_request:
branches: [ v3-commands, master ]
branches: [ master ]

jobs:
test:
Expand All @@ -20,12 +20,12 @@ jobs:
- uses: actions/checkout@v2 # Checkout the Stackable Free repo.
with:
repository: 'gambitph/Stackable' # Stackable free repo
ref: 'master' # Branch to checkout
ref: 'develop' # Branch to checkout
path: 'Stackable'
- uses: actions/checkout@v2 # Checkout the Stackable Premium repo.
with:
repository: 'bfintal/Stackable-Premium' # Stackable premium repo
ref: 'master' # Branch to checkout
ref: 'develop' # Branch to checkout
path: 'Stackable/pro__premium_only'
token: '${{ secrets.ACCESS_KEY }}'

Expand All @@ -38,7 +38,7 @@ jobs:
# Check the current PHP version installed
- name: Check PHP version
run: php -v

# Install all dependencies from composer.json
- name: Install dependencies
working-directory: Stackable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
- uses: actions/checkout@v2 # Checkout the Stackable Free repo.
with:
repository: 'gambitph/Stackable' # Stackable free repo
ref: 'master' # Branch to checkout
ref: 'develop' # Branch to checkout
path: 'Stackable'
- uses: actions/checkout@v2 # Checkout the Stackable Premium repo.
with:
repository: 'bfintal/Stackable-Premium' # Stackable premium repo
ref: 'master' # Branch to checkout
ref: 'develop' # Branch to checkout
path: 'Stackable/pro__premium_only'
token: '${{ secrets.ACCESS_KEY }}' # ACCESS_KEY is stored in this repo's secrets for the workflow to be able to checkout the repo, it's a Personal access tokens generated by the repository owner (bfintal) in developer settings

Expand All @@ -37,7 +37,7 @@ jobs:
# Check the current PHP version installed
- name: Check PHP version
run: php -v

# Install all dependencies from composer.json
- name: Install dependencies
working-directory: Stackable
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Run Test Suite
uses: cypress-io/github-action@v2
with:
command: npm run cy:run:parallel -- --machine-number=${{ matrix.containers }} --total-machines=${{ matrix.total-machines }} --spec=cypress/integration/v2/**/*.spec.js --browser=chrome --env=STACKABLE_PREMIUM_CODE=${{ secrets.STACKABLE_PREMIUM_CODE }},GITHUB_ACTIONS=1 --config=baseUrl=http://localhost:8889
command: npm run cy:run:parallel -- --machine-number=${{ matrix.containers }} --total-machines=${{ matrix.total-machines }} --spec=cypress/integration/v3/**/*.spec.js --browser=chrome --env=STACKABLE_PREMIUM_CODE=${{ secrets.STACKABLE_PREMIUM_CODE }},GITHUB_ACTIONS=1 --config=baseUrl=http://localhost:8889
# STACKABLE_PREMIUM_CODE contains a premium license key for Stackable Premium

- name: Upload E2E Test Results
Expand Down