From 57f519a7f699a2fb05c2925bf66caedfeb3b993e Mon Sep 17 00:00:00 2001 From: Kelvin Olaiya Date: Fri, 9 Aug 2024 11:35:03 +0200 Subject: [PATCH] ci: rename workflow and and minimal refactor --- .github/workflows/{build.yml => CI-CD.yml} | 9 ++++++- .github/workflows/fault-tolerance-tests.yml | 26 --------------------- 2 files changed, 8 insertions(+), 27 deletions(-) rename .github/workflows/{build.yml => CI-CD.yml} (96%) delete mode 100644 .github/workflows/fault-tolerance-tests.yml diff --git a/.github/workflows/build.yml b/.github/workflows/CI-CD.yml similarity index 96% rename from .github/workflows/build.yml rename to .github/workflows/CI-CD.yml index 03768d227..1110e1fb8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/CI-CD.yml @@ -1,11 +1,18 @@ -name: Revue CI +name: Revue CI and CD on: push: + paths-ignore: + - 'README.md' + - 'CHANGELOG.md' + - 'renovate.json' workflow_dispatch: defaults: run: shell: bash +concurrency: + group: ${{ github.workflow }}-${{ github.event.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'main') }} jobs: build: strategy: diff --git a/.github/workflows/fault-tolerance-tests.yml b/.github/workflows/fault-tolerance-tests.yml deleted file mode 100644 index c64030359..000000000 --- a/.github/workflows/fault-tolerance-tests.yml +++ /dev/null @@ -1,26 +0,0 @@ -#name: Revue Tolerance Tests -# -#on: -# push: -# branches: [ '**', '!main' ] -# -# workflow_dispatch: -# -#defaults: -# run: -# shell: bash -# -#jobs: -# -# build: -# strategy: -# matrix: -# os: -# - ubuntu-latest -# -# # run on ubuntu, windows and macOS -# runs-on: ${{ matrix.os }} -# steps: -# - uses: actions/checkout@v4 -# - name: Run fault-tolerance tests -# run: ./fault-tolerance-tests.sh