From 2dc64f0fa06a0b3aa5cfc727ddb6e711f89eafaf Mon Sep 17 00:00:00 2001 From: Hector Espert Date: Sun, 22 Dec 2024 10:07:58 +0100 Subject: [PATCH] Only run checks on planted branch --- .github/workflows/deb.yml | 2 ++ .github/workflows/go.yml | 2 ++ .github/workflows/jest.yml | 2 ++ .github/workflows/smoke_.yml | 2 ++ .github/workflows/translations.yml | 2 ++ .travis.yml | 44 ------------------------------ 6 files changed, 10 insertions(+), 44 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/deb.yml b/.github/workflows/deb.yml index cd9e1c960..53049ac18 100644 --- a/.github/workflows/deb.yml +++ b/.github/workflows/deb.yml @@ -2,7 +2,9 @@ name: deb on: workflow_call: push: + branches: [ planted ] pull_request: + branches: [ planted ] jobs: builds: runs-on: ubuntu-latest diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 32d18c83f..bc63336fb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,7 +2,9 @@ name: go on: workflow_call: push: + branches: [ planted ] pull_request: + branches: [ planted ] jobs: builds: runs-on: ubuntu-latest diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index 06253827f..e64a83fd4 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -2,7 +2,9 @@ name: jest on: workflow_call: push: + branches: [ planted ] pull_request: + branches: [ planted ] jobs: builds: runs-on: ubuntu-latest diff --git a/.github/workflows/smoke_.yml b/.github/workflows/smoke_.yml index 7f657432e..963f9deac 100644 --- a/.github/workflows/smoke_.yml +++ b/.github/workflows/smoke_.yml @@ -2,7 +2,9 @@ name: smoke on: workflow_call: push: + branches: [ planted ] pull_request: + branches: [ planted ] jobs: builds: runs-on: ubuntu-latest diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 802adc620..7e9b4048e 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -2,7 +2,9 @@ name: translation on: workflow_call: push: + branches: [ planted ] pull_request: + branches: [ planted ] jobs: Translations: runs-on: ubuntu-latest diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1813cbde5..000000000 --- a/.travis.yml +++ /dev/null @@ -1,44 +0,0 @@ -matrix: - include: - - language: go - go: - - "1.13" - before_install: - - sudo apt-get install -y libasound2-dev - - nvm use node - install: - - npm ci - script: - - ./build/ci.sh - - bash <(curl -s https://codecov.io/bash) -cF go - - make pi - - bundle install - - make clean - - make go - - make deb - - - language: node_js - node_js: - - "lts/*" - install: - - npm ci - script: - - npm run build - - npm run js-lint - - npm run sass-lint - - npm test - - bash <(curl -s https://codecov.io/bash) -cF javascript - - - language: go - go: - - "1.13" - before_install: - - nvm use node - install: - - npm ci - script: - - make bin - - make start-dev & - - npm run ci-smoke - addons: - chrome: stable