Skip to content

Commit

Permalink
Add workflow to run tests against released version
Browse files Browse the repository at this point in the history
  • Loading branch information
ll-nick committed Nov 14, 2024
1 parent dca4f8a commit 369d007
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/bump-version-and-create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,32 @@ jobs:
tag: ${{ needs.compute-version.outputs.new_tag }}
body: ${{ github.event.pull_request.body }}

build-and-run-release-tests:
needs: [compute-version, create-release]
runs-on: ubuntu-latest
steps:
- name: Build release core test Docker image
uses: docker/build-push-action@v6
with:
build-args: |
RELEASE_DOWNLOAD_URL=https://github.com/KIT-MRT/arbitration_graphs/releases/download/${{ needs.compute-version.outputs.new_tag }}
push: false
tags: release_tester_core
target: release_test_core

- name: Run core unit tests with/against released version
run: |
docker run --rm release_tester_core
- name: Build release gui test Docker image
uses: docker/build-push-action@v6
with:
build-args: |
RELEASE_DOWNLOAD_URL=https://github.com/KIT-MRT/arbitration_graphs/releases/download/${{ needs.compute-version.outputs.new_tag }}
push: false
tags: release_tester_gui
target: release_test_gui

- name: Run gui unit tests with/against released version
run: |
docker run --rm release_tester_gui

0 comments on commit 369d007

Please sign in to comment.