You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2021/11/30 10:10:47 UTC
[incubator-streampipes] 05/21: [STREAMPIPES-478] Testing Cypress action plugin
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 3a647e078fedddb473499c0e9d9f947e016ca91a
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sun Nov 28 16:05:53 2021 +0100
[STREAMPIPES-478] Testing Cypress action plugin
---
.github/workflows/cypress-test.yml | 48 ++++++++++++++++++++++----------------
1 file changed, 28 insertions(+), 20 deletions(-)
diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml
index 2da7c42..0e0626d 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -26,32 +26,40 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- - name: Set up JDK 1.8
- uses: actions/setup-java@v1
- with:
- java-version: 1.8
- - name: Set up Node
- uses: actions/setup-node@v1
- with:
- node-version: '16.x'
- - name: Build UI
- working-directory: ./ui
- run: |
- NODE_PATH=/cache/node_modules
- NODE_OPTIONS=--max_old_space_size=6096
- npm install --unsafe-perm --legacy-peer-deps
- npm run build
- - name: Build with Maven
- run: mvn clean package -Dmaven.test.skip=true
+# - name: Set up JDK 1.8
+# uses: actions/setup-java@v1
+# with:
+# java-version: 1.8
+# - name: Set up Node
+# uses: actions/setup-node@v1
+# with:
+# node-version: '16.x'
+# - name: Build UI
+# working-directory: ./ui
+# run: |
+# NODE_PATH=/cache/node_modules
+# NODE_OPTIONS=--max_old_space_size=6096
+# npm install --unsafe-perm --legacy-peer-deps
+# npm run build
+#
+# - name: Build with Maven
+# run: mvn clean package -Dmaven.test.skip=true
+#
+# - name: Build and run streampipes
+# run: docker-compose up --build -d
- - name: Build and run streampipes
- run: docker-compose up --build -d
+ - name: Pull Docker
+ working-directory: ./installer/compose
+ run: docker-compose pull
+ - name: Start Docker
+ working-directory: ./installer/compose
+ run: docker-compose up -d
- name: 'UI Tests'
uses: cypress-io/github-action@v2
with:
- install: false
+ install: true
wait-on: 'http://localhost:80'
wait-on-timeout: 120
spec: cypress/tests/**/*.smoke.ts