From 23e7f059bcea4aff974b08aa26c2d05678d0de04 Mon Sep 17 00:00:00 2001 From: Jakob Hahn Date: Thu, 28 Sep 2023 10:36:37 +0200 Subject: [PATCH] .github: run test workflows for all branches Signed-off-by: Jakob Hahn --- .github/workflows/links.yml | 9 ++------- .github/workflows/lint.yml | 8 +------- .github/workflows/test-compatibility.yml | 4 +++- .github/workflows/test-integration.yml | 10 ++-------- .github/workflows/test-unit.yml | 8 +------- 5 files changed, 9 insertions(+), 30 deletions(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index a0dbc727c..f757583e9 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -1,11 +1,6 @@ name: Link Checker -on: - push: - branches: - - "*" - pull_request: - branches: - - "*" + +on: [push, pull_request] jobs: linkchecker: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 04ffe52db..50333bd37 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,12 +1,6 @@ name: Lint check -on: - push: - branches: - - "*" - pull_request: - branches: - - "*" +on: [push, pull_request] env: GITHUB_ACTIONS: true diff --git a/.github/workflows/test-compatibility.yml b/.github/workflows/test-compatibility.yml index 041e5dab2..2892b8d52 100644 --- a/.github/workflows/test-compatibility.yml +++ b/.github/workflows/test-compatibility.yml @@ -3,7 +3,7 @@ name: Integration for Compatibility on: [push, pull_request] jobs: - integration-test-compatibility: + integ-test-compat: runs-on: ubuntu-latest strategy: fail-fast: false @@ -22,6 +22,8 @@ jobs: - { opensearch_version: 2.6.0 } - { opensearch_version: 2.7.0 } - { opensearch_version: 2.8.0 } + - { opensearch_version: 2.9.0 } + - { opensearch_version: 2.10.0 } steps: - uses: actions/checkout@v3 with: { fetch-depth: 1 } diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 6a7c7f9dd..ef9296aae 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -1,12 +1,6 @@ name: Integration -on: - push: - branches: - - "*" - pull_request: - branches: - - "*" +on: [push, pull_request] env: GITHUB_ACTIONS: true @@ -57,4 +51,4 @@ jobs: - name: Launch OpenSearch cluster run: | make cluster.clean cluster.build cluster.start - - run: make test-integ-secure \ No newline at end of file + - run: make test-integ-secure diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index e5f4904f9..d09f8f376 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -1,12 +1,6 @@ name: Unit -on: - push: - branches: - - "*" - pull_request: - branches: - - "*" +on: [push, pull_request] env: GITHUB_ACTIONS: true