Add docker:emptydb yarn command, to blow away the dev dbhub db #301
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" | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "master" ] | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-20.04 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Cypress run | |
uses: cypress-io/github-action@v5 | |
with: | |
wait-on: 'https://localhost:9443' | |
wait-on-timeout: 180 | |
build: sh ./build_dbhub_docker_and_local.sh | |
start: yarn docker:github | |
command: yarn cypress:test | |
env: | |
NODE_TLS_REJECT_UNAUTHORIZED: 0 |