Skip initializer tests for pre-releases

This commit is contained in:
Tobias Genannt 2022-07-21 08:47:56 +02:00
parent e62fedbd5e
commit ec35446b65
2 changed files with 16 additions and 1 deletions

View file

@ -43,6 +43,10 @@ jobs:
- id: docker-build
name: Build the image with '${{ matrix.build_cmd }}'
run: ${{ matrix.build_cmd }}
- id: test-configuration
name: Set ENV variable to skip initializer tests for prereleases
if: ${{ contains(matrix.build_cmd, 'PRERELEASE=true') || contains(matrix.build_cmd, 'feature') }}
run: echo "SKIP_INITIALIZER_TESTS=true" >>"${GITHUB_ENV}"
- id: test-image
name: Test the image
run: IMAGE="${FINAL_DOCKER_TAG}" ./test.sh