From b57f12fceb5f3318cf5fc46bbd8941187337001b Mon Sep 17 00:00:00 2001 From: Piotr Spieker Date: Tue, 12 Nov 2024 12:56:19 +0100 Subject: [PATCH] Move release tests into create release workflow --- .../bump-version-and-create-release.yaml | 16 +++++++++++++ .github/workflows/run-release-tests.yaml | 24 ------------------- 2 files changed, 16 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/run-release-tests.yaml diff --git a/.github/workflows/bump-version-and-create-release.yaml b/.github/workflows/bump-version-and-create-release.yaml index 632a735..1679345 100644 --- a/.github/workflows/bump-version-and-create-release.yaml +++ b/.github/workflows/bump-version-and-create-release.yaml @@ -97,3 +97,19 @@ jobs: tag: ${{ needs.compute-version.outputs.new_tag }} body: ${{ github.event.pull_request.body }} + + build-and-run-release-tests: + needs: create-release + runs-on: ubuntu-latest + steps: + - name: Build release test Docker image + uses: docker/build-push-action@v6 + with: + push: false + tags: | + ghcr.io/kit-mrt/util_caching_release_tests + target: release_test + + - name: Run unit tests with/against released version + run: | + docker run --rm ghcr.io/kit-mrt/util_caching_release_tests \ No newline at end of file diff --git a/.github/workflows/run-release-tests.yaml b/.github/workflows/run-release-tests.yaml deleted file mode 100644 index 11fd79c..0000000 --- a/.github/workflows/run-release-tests.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: Run release tests - -on: - release: - types: - - released - -jobs: - build-and-run-release-tests: - runs-on: ubuntu-latest - - steps: - - name: Build release test Docker image - uses: docker/build-push-action@v6 - with: - push: false - tags: | - ghcr.io/kit-mrt/util_caching_release_tests - target: release_test - - - name: Run unit tests with/against released version - run: | - docker run --rm ghcr.io/kit-mrt/util_caching_release_tests -