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/28 10:46:44 UTC
[incubator-streampipes] branch STREAMPIPES-478 updated: [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 STREAMPIPES-478
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/STREAMPIPES-478 by this push:
new 32e8979 [STREAMPIPES-478] Build streampipes before running tests
32e8979 is described below
commit 32e89790851dfb39c4ec8e00641cdc4bd5e0d1ec
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