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:43 UTC

[incubator-streampipes] 01/21: [STREAMPIPES-478] Build streampipes before running tests

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 3192322c0840a4c861d6237a110390f59323dc58
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sun Nov 28 11:46:19 2021 +0100

    [STREAMPIPES-478] Build streampipes before running tests
---
 .github/workflows/cypress-test.yml | 33 ++++++++++++---------------------
 1 file changed, 12 insertions(+), 21 deletions(-)

diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml
index 8ce35ae..99636f3 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -26,16 +26,10 @@ 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: Pull Docker
-        working-directory: ./installer/compose
-        run: docker-compose pull
-      - name: Pull Docker
-        working-directory: ./installer/compose
-        run: docker-compose up -d
+      - 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:
@@ -46,15 +40,12 @@ jobs:
           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: Run Cypress Tests
+        working-directory: ./ui
+        run: |
           npm run test-cypress-github
-#          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: Cypress run
-#        uses: cypress-io/github-action@v2
-#        with:
-#          working-directory: ./ui
-#          spec: cypress/tests/integration/adapter/*
\ No newline at end of file