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/27 19:08:56 UTC
[incubator-streampipes] branch STREAMPIPES-478 updated: [STREAMPIPES-478] Run cypress with npm
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 50df5a8 [STREAMPIPES-478] Run cypress with npm
50df5a8 is described below
commit 50df5a8f441350e33af9b88d8a87a5f83800a49b
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sat Nov 27 20:08:32 2021 +0100
[STREAMPIPES-478] Run cypress with npm
---
.github/workflows/cypress-test.yml | 26 ++++++++++++++------------
ui/package.json | 2 +-
2 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml
index d246db7..3e6ae8d 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -30,6 +30,12 @@ jobs:
# 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 Node
uses: actions/setup-node@v1
with:
@@ -40,19 +46,15 @@ jobs:
NODE_PATH=/cache/node_modules
NODE_OPTIONS=--max_old_space_size=6096
npm install --unsafe-perm --legacy-peer-deps
- npm run build
+ npm run test-cypress
+# 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: Pull Docker
- working-directory: ./installer/compose
- run: docker-compose pull
- - name: Pull Docker
- working-directory: ./installer/compose
- run: docker-compose up -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
+
+# - name: Cypress run
+# uses: cypress-io/github-action@v2
+# with:
+# working-directory: ./ui
+# spec: cypress/tests/integration/adapter/*
\ No newline at end of file
diff --git a/ui/package.json b/ui/package.json
index 265ff89..052ff7b 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -15,7 +15,7 @@
"lint": "tslint -c tslint.json 'src/**/*.ts*",
"analyze": "webpack-bundle-analyzer dist/stats.json",
"test-e2e": "cypress open",
- "test-cypres": "npx cypress run --spec 'cypress/tests/integration/adapter/*'"
+ "test-cypress": "npx cypress run --spec 'cypress/tests/integration/adapter/*'"
},
"dependencies": {
"@angular/animations": "12.2.9",