]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add Cypress workflow
authorJeremy Thomas <bbxdesign@gmail.com>
Sat, 30 Oct 2021 22:46:17 +0000 (23:46 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Sat, 30 Oct 2021 22:46:17 +0000 (23:46 +0100)
.github/workflows/main.yml [new file with mode: 0644]
cypress.json
cypress/.gitignore [new file with mode: 0644]

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644 (file)
index 0000000..b4316ea
--- /dev/null
@@ -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
index 1fa27aadf668989e32ef1404ddc2b77c563988a6..ad0d76c14055682fcd9b0e0af92ffbf476f08a9a 100644 (file)
@@ -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 (file)
index 0000000..4094344
--- /dev/null
@@ -0,0 +1 @@
+videos