From cf6e48e5a26c6fbb8feb8bc7a81ac534873ab557 Mon Sep 17 00:00:00 2001 From: Kamil Raczycki Date: Mon, 15 Apr 2024 18:00:20 +0200 Subject: [PATCH] ci: add additional dependencies test for release pull requests --- .github/workflows/manual_tests.yml | 3 +-- .github/workflows/run-tests.yml | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual_tests.yml b/.github/workflows/manual_tests.yml index 7b5f4b89..f4509ab3 100644 --- a/.github/workflows/manual_tests.yml +++ b/.github/workflows/manual_tests.yml @@ -1,6 +1,5 @@ name: "Run tests with newest dependencies" -on: - workflow_dispatch +on: [workflow_dispatch, workflow_call] jobs: run-tests: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0782d02a..e013a94d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,3 +13,9 @@ jobs: name: "Run tests job" uses: ./.github/workflows/_tests.yml secrets: inherit + + run-tests-newest-dependencies: + if: contains(github.event.pull_request.labels.*.name, 'release') + name: "Run tests with newest dependencies job" + uses: ./.github/workflows/manual_tests.yml + secrets: inherit