Skip to content

Commit

Permalink
Updating test & remove version in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinwy committed Jan 10, 2025
1 parent 357afec commit 9e42786
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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/
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
db:
ports:
Expand Down

0 comments on commit 9e42786

Please sign in to comment.