-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating test & remove version in docker compose
- Loading branch information
Showing
2 changed files
with
7 additions
and
9 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
cypress-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: hoverkraft-tech/[email protected] | ||
with: | ||
down-flags: '--volumes' | ||
|
@@ -22,7 +22,7 @@ jobs: | |
npx cypress run | ||
- name: Upload screenshots | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: screenshots | ||
path: tests/cypress/screenshots/ | ||
|
@@ -39,7 +39,7 @@ jobs: | |
run: ./build.bash | ||
|
||
- name: Upload build artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: komoju-japanese-payments | ||
path: komoju-japanese-payments.zip | ||
|
@@ -52,13 +52,13 @@ jobs: | |
TARGET: staging | ||
WAF_STAGING_TOKEN: ${{ secrets.WAF_STAGING_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: 'degica/komoju-e2e-tests' | ||
submodules: recursive | ||
token: ${{ secrets.BUNDLER_SSH_KEY }} | ||
- name: Download build artifact | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: komoju-japanese-payments | ||
- name: Show files | ||
|
@@ -68,7 +68,7 @@ jobs: | |
echo "RUN apk update && apk add build-base libffi-dev openssl-dev" >> Dockerfile | ||
- name: Set up docker-compose | ||
run: |- | ||
docker compose build | ||
docker compose up -d | ||
docker compose -f docker-compose.arm.yml build | ||
docker compose -f docker-compose.arm.yml up -d | ||
- name: Run e2e tests | ||
run: docker compose run tester rspec spec/woocommerce |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
version: '3' | ||
|
||
services: | ||
db: | ||
ports: | ||
|