From ee05b5aba9118663c68fc69ffae523bc0e450e8a Mon Sep 17 00:00:00 2001 From: Richard R <58728519+rrjbca@users.noreply.github.com> Date: Sun, 8 Sep 2024 11:50:24 +0100 Subject: [PATCH] CI: Run tests and codestyle on release branches and tags (#627) --- .github/workflows/codestyle.yaml | 4 ++++ .github/workflows/tests.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/codestyle.yaml b/.github/workflows/codestyle.yaml index 09746787..8dd0fa39 100644 --- a/.github/workflows/codestyle.yaml +++ b/.github/workflows/codestyle.yaml @@ -4,10 +4,14 @@ on: branches: - main - module/* + - 'v*x' + tags: + - 'v*' pull_request: branches: - main - module/* + - 'v*x' jobs: flake8: runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d8402d15..2800cb6a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -4,10 +4,14 @@ on: branches: - main - module/* + - 'v*x' + tags: + - 'v*' pull_request: branches: - main - module/* + - 'v*x' jobs: test: name: ${{ matrix.name }}