You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ja...@apache.org on 2022/08/21 03:00:11 UTC

[systemds] branch main updated: [SYSTEMDS-3422] Add monitoring tool testing workflows

This is an automated email from the ASF dual-hosted git repository.

janardhan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/main by this push:
     new efbbc0d2d6 [SYSTEMDS-3422] Add monitoring tool testing workflows
efbbc0d2d6 is described below

commit efbbc0d2d6b6a3ac957448bf0bc3e5b5d574218c
Author: Janardhan Pulivarthi <j1...@protonmail.com>
AuthorDate: Sun Aug 21 08:30:05 2022 +0530

    [SYSTEMDS-3422] Add monitoring tool testing workflows
    
    Test that the angular app builds without any issues.
    
    Closes #1687.
---
 .github/workflows/monitoringUITests.yml | 68 +++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/.github/workflows/monitoringUITests.yml b/.github/workflows/monitoringUITests.yml
new file mode 100644
index 0000000000..cf94e92b7b
--- /dev/null
+++ b/.github/workflows/monitoringUITests.yml
@@ -0,0 +1,68 @@
+#-------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#-------------------------------------------------------------
+
+name: Test Monitoring UI Angular App
+
+on:
+  push:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
+      - '*.html'
+      - 'src/main/python/**'
+      - 'dev/**'
+    branches:
+      - main
+  pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
+      - '*.html'
+      - 'src/main/python/**'
+      - 'dev/**'
+    branches:
+      - main
+  # enable manual workflow trigger
+  workflow_dispatch:
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    
+    strategy:
+      matrix:
+        node-version: ["lts/*"]
+
+    steps:
+      - uses: actions/checkout@v3
+      - name: Build the application, with Node.js ${{ matrix.node-version }}
+        uses: actions/setup-node@v2
+        with:
+          # Set always-auth in npmrc
+          always-auth: false # optional, default is false
+          # Version Spec of the version to use.  Examples: 12.x, 10.15.1, >=10.15.0
+          node-version: ${{ matrix.node-version }}
+          # Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.
+          architecture: x64
+      - name: Install and run build
+        run: |
+          npm install
+        working-directory: scripts/monitoring