Skip to content

Commit

Permalink
PSPAYPAL-815 refactor cypress action
Browse files Browse the repository at this point in the history
  • Loading branch information
René Gust committed Dec 9, 2024
1 parent 100dd06 commit 0b94aac
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,17 @@ jobs:
run: |
make up
sleep 2
- name: Checkout
uses: actions/checkout@v4
- name: install npm
run: |
apt update && DEBIAN_FRONTEND=noninteractive apt -y install npm
- name: install cypress dependencies
run: |
npm install
with:
working-directory: ./tests/CypressTests
- name: Cypress run
uses: cypress-io/github-action@v6
run: |
npx cypress run
with:
working-directory: ./tests/CypressTests
env:
Expand All @@ -262,9 +269,6 @@ jobs:
CYPRESS_TESTS_SHOP_USER_STREET_NUMBER: "1"
CYPRESS_TESTS_SHOP_USER_ZIP: "12345"
CYPRESS_TESTS_SHOP_USER_LOCATION: "Testcity"
- name: Stop Cypress container
if: always()
run: docker rm -f cypress
# codeception_tests:
# strategy:
# fail-fast: false
Expand Down

0 comments on commit 0b94aac

Please sign in to comment.