End to end testing #1
Workflow file for this run
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: Cypress Tests | |
on: [pull_request] | |
jobs: | |
cypress-e2e-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup .env | |
run: cp .env.sample .env | |
- name: Build Docker services | |
run: docker-compose up -d | |
- name: Install Cypress | |
run: npm install cypress | |
- name: Run Cypress tests | |
run: npx cypress run |