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/12/08 21:30:25 UTC
[incubator-streampipes] branch dev updated: [hotfix] Rename GitHub actions workflows
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
The following commit(s) were added to refs/heads/dev by this push:
new 4c803a7 [hotfix] Rename GitHub actions workflows
4c803a7 is described below
commit 4c803a7de498361cc502efcc275c862784672c69
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Wed Dec 8 22:30:15 2021 +0100
[hotfix] Rename GitHub actions workflows
---
.github/workflows/cypress-test.yml | 2 +-
.github/workflows/pr-validation.yml | 26 +++++++++++++++--------
ui/cypress/tests/adapter/fileStream.smoke.spec.ts | 2 +-
3 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml
index 860db99..090b12e 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -21,7 +21,7 @@ on:
- cron: '51 23 * * *'
jobs:
- build-and-push-to-docker:
+ build-streampipes-and-run-e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml
index 75efc30..16d2876 100644
--- a/.github/workflows/pr-validation.yml
+++ b/.github/workflows/pr-validation.yml
@@ -13,13 +13,27 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: run-cypress-tests
+name: validate-pr
on:
pull_request:
jobs:
- build-and-push-to-docker:
+ run-rat-plugin:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v1
+
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+
+ - name: Validate code with RAT plugin
+ run: mvn rat:rat
+
+ run-cypress-e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -41,9 +55,6 @@ jobs:
npm install --unsafe-perm --legacy-peer-deps
npm run build
- - name: Validate code with RAT blugin
- run: mvn rat:rat
-
- name: Build with Maven
run: mvn clean package -Dmaven.test.skip=true
@@ -59,9 +70,6 @@ jobs:
with:
install: false
wait-on: 'http://localhost/#/login'
- record: true
wait-on-timeout: 120
spec: cypress/tests/**/*.smoke.spec.ts
- working-directory: ui
- env:
- CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
\ No newline at end of file
+ working-directory: ui
\ No newline at end of file
diff --git a/ui/cypress/tests/adapter/fileStream.smoke.spec.ts b/ui/cypress/tests/adapter/fileStream.smoke.spec.ts
index 4658683..1990c3e 100644
--- a/ui/cypress/tests/adapter/fileStream.smoke.spec.ts
+++ b/ui/cypress/tests/adapter/fileStream.smoke.spec.ts
@@ -26,7 +26,7 @@ describe('Test File Stream Adapter', {
openMode: 1,
}
}, () => {
- before('Setup Test', () => {
+ beforeEach('Setup Test', () => {
cy.initStreamPipesTest();
FileManagementUtils.addFile('fileTest/random.csv');
});