-
-
Notifications
You must be signed in to change notification settings - Fork 733
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae2fcae
commit 512c5e7
Showing
1 changed file
with
29 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Acceptance Tests using docker compose | |
on: | ||
push: | ||
branches: | ||
- 3.x | ||
- '3.x' | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
@@ -16,32 +16,37 @@ env: | |
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
# need checkout before using compose-action | ||
- uses: actions/checkout@v3 | ||
- uses: isbang/[email protected] | ||
with: | ||
compose-file: "./test/docker-compose.yml" | ||
down-flags: "--volumes" | ||
- run: | ||
command: docker-compose run --rm test-acceptance.puppeteer | ||
working_directory: test | ||
when: always | ||
- run: | ||
command: docker-compose run --rm test-rest | ||
working_directory: test | ||
when: always | ||
- run: | ||
command: docker-compose run --rm test-acceptance.webdriverio | ||
working_directory: test | ||
when: always | ||
- run: | ||
command: docker-compose run --rm test-bdd.faker | ||
working_directory: test | ||
when: always | ||
# Checkout the repository | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
# Run acceptance tests using docker-compose | ||
- name: Run Puppeteer Acceptance Tests | ||
run: docker-compose run --rm test-acceptance.puppeteer | ||
working-directory: test | ||
continue-on-error: true | ||
|
||
# Run rest tests using docker-compose | ||
- name: Run REST Tests | ||
run: docker-compose run --rm test-rest | ||
working-directory: test | ||
continue-on-error: true | ||
|
||
# Run WebDriverIO acceptance tests using docker-compose | ||
- name: Run WebDriverIO Acceptance Tests | ||
run: docker-compose run --rm test-acceptance.webdriverio | ||
working-directory: test | ||
continue-on-error: true | ||
|
||
# Run faker BDD tests using docker-compose | ||
- name: Run Faker BDD Tests | ||
run: docker-compose run --rm test-bdd.faker | ||
working-directory: test | ||
continue-on-error: true |