From 5f0932f239362d490d2772d1333a59dc2a532df0 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Sat, 30 Oct 2021 23:46:17 +0100 Subject: [PATCH] Add Cypress workflow --- .github/workflows/main.yml | 12 ++++++++++++ cypress.json | 1 + cypress/.gitignore | 1 + 3 files changed, 14 insertions(+) create mode 100644 .github/workflows/main.yml create mode 100644 cypress/.gitignore diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..b4316ea0 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,12 @@ +name: End-to-end tests +on: [push] +jobs: + cypress-run: + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v2 + # Install NPM dependencies, cache them correctly + # and run all Cypress tests + - name: Cypress run + uses: cypress-io/github-action@v2 diff --git a/cypress.json b/cypress.json index 1fa27aad..ad0d76c1 100644 --- a/cypress.json +++ b/cypress.json @@ -1,4 +1,5 @@ { + "projectId": "tnstsp", "env": { "black": "rgb(10, 10, 10)", "black-bis": "rgb(18, 18, 18)", diff --git a/cypress/.gitignore b/cypress/.gitignore new file mode 100644 index 00000000..40943445 --- /dev/null +++ b/cypress/.gitignore @@ -0,0 +1 @@ +videos