Browse Source

Add Cypress workflow

Jeremy Thomas 3 years ago
parent
commit
5f0932f239
3 changed files with 14 additions and 0 deletions
  1. 12 0
      .github/workflows/main.yml
  2. 1 0
      cypress.json
  3. 1 0
      cypress/.gitignore

+ 12 - 0
.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

+ 1 - 0
cypress.json

@@ -1,4 +1,5 @@
 {
 {
+  "projectId": "tnstsp",
   "env": {
   "env": {
     "black": "rgb(10, 10, 10)",
     "black": "rgb(10, 10, 10)",
     "black-bis": "rgb(18, 18, 18)",
     "black-bis": "rgb(18, 18, 18)",

+ 1 - 0
cypress/.gitignore

@@ -0,0 +1 @@
+videos