[DUOS-2527] Create an Edit Study page #2093
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
on: [pull_request] | |
name: cypress integration tests | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- name: Log Actor | |
run: echo "${{ github.actor }}" | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: NPM Install | |
run: npm ci | |
- name: Copy Configs | |
run: cp config/alpha.json public/config.json | |
- name: NPM Build | |
run: CI=false npm run build --silent | |
- name: Cypress run integration tests | |
uses: cypress-io/github-action@v4 | |
env: | |
CYPRESS_ADMIN: ${{ secrets.DUOS_AUTOMATION_ADMIN_SA }} | |
CYPRESS_CHAIR: ${{ secrets.DUOS_AUTOMATION_CHAIR_SA }} | |
CYPRESS_MEMBER: ${{ secrets.DUOS_AUTOMATION_MEMBER_SA }} | |
CYPRESS_RESEARCHER: ${{ secrets.DUOS_AUTOMATION_RESEARCHER_SA }} | |
CYPRESS_SIGNING_OFFICIAL: ${{ secrets.DUOS_AUTOMATION_SIGNING_OFFICIAL_SA }} | |
with: | |
start: npm start | |
wait-on: 'http://localhost:3000' | |
wait-on-timeout: 120 |