From 2d04e3552637a105fc75e35f806d2e716d64ec77 Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Sun, 19 May 2024 08:28:21 +0200 Subject: [PATCH] Add tests again to the Github Actions --- .github/workflows/artifact-links.yml | 1 + .github/workflows/ci.yml | 1 + .github/workflows/hide-artifact-links.yml | 1 + .github/workflows/nightly.yml | 2 ++ .github/workflows/pr.yml | 1 + src/js/msp.js | 2 -- 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/artifact-links.yml b/.github/workflows/artifact-links.yml index a1b7ed926d..7de1ad23cc 100644 --- a/.github/workflows/artifact-links.yml +++ b/.github/workflows/artifact-links.yml @@ -3,6 +3,7 @@ on: workflow_run: workflows: ["PR"] types: [completed] + branches: ['*-maintenance'] jobs: artifacts-url-comments: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87371c6d8c..52bbe4b4ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,7 @@ jobs: build: name: Build (${{ matrix.name }}) needs: test + if: ${{ endsWith(github.ref, 'maintenance') }} runs-on: ${{ matrix.os }} strategy: matrix: diff --git a/.github/workflows/hide-artifact-links.yml b/.github/workflows/hide-artifact-links.yml index 3312ee7cc9..fb5622ca90 100644 --- a/.github/workflows/hide-artifact-links.yml +++ b/.github/workflows/hide-artifact-links.yml @@ -3,6 +3,7 @@ name: Hide artifact links comments on: pull_request_target: types: [synchronize, reopened] + branches: ['*-maintenance'] jobs: hide-artifacts-link-comments: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index dc5e07d36b..db60fee15c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -17,6 +17,7 @@ name: Nightly on: push: branches: + - master - '*-maintenance' jobs: @@ -29,6 +30,7 @@ jobs: release: name: Nightly release needs: ci + if: ${{ endsWith(github.ref, 'maintenance') }} runs-on: ubuntu-22.04 steps: - name: Fetch build artifacts diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0191192734..2fcdcd4a14 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -3,6 +3,7 @@ name: PR on: pull_request: branches: + - master - '*-maintenance' concurrency: diff --git a/src/js/msp.js b/src/js/msp.js index 42c214bf92..7db69fb1f4 100644 --- a/src/js/msp.js +++ b/src/js/msp.js @@ -1,7 +1,5 @@ import GUI from "./gui.js"; import CONFIGURATOR from "./data_storage.js"; -import serialNWJS from "./serial.js"; -import serialWeb from "./webSerial.js"; import { isWeb } from "./utils/isWeb.js"; import { serialShim } from "./serial_shim.js";