Update README.md #101
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
name: E2E tests | |
on: | |
push: | |
pull_request: | |
types: [opened,reopened,synchronize] | |
jobs: | |
e2e_tests: | |
runs-on: ubuntu-latest | |
name: E2E tests | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Running latest prestashop with docker | |
run: docker-compose up --build -d | |
working-directory: .github/workflows/e2eTests | |
- name: Wait for prestashop to be ready | |
uses: juliangruber/sleep-action@v1 | |
with: | |
time: 60s | |
- name: Run tests | |
run: | | |
npm install && npm run e2e-tests-fast-fail | |
env: | |
URL_FO: http://localhost/ | |
HEADLESS: true | |
PS_VERSION: "1.7.8" | |
working-directory: tests/E2E |