Skip to content

Commit

Permalink
Add input parameter to skip tests in the release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
lystopad committed Feb 16, 2025
1 parent be6dc84 commit f76b82d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Release
run-name: Build release ${{ inputs.release_version}} from branch ${{ inputs.checkout_ref }} by @${{ github.actor }}
run-name: Build release ${{ inputs.release_version}} from branch ${{ inputs.checkout_ref }}, tests=${{ inputs.skip_tests }} by @${{ github.actor }}

env:
APPLICATION: "erigon"
Expand Down Expand Up @@ -37,6 +37,11 @@ on:
type: boolean
default: false
description: 'publish_latest_tag: when set then docker image with tag :latest will be also published'
skip_tests:
required: false
type: boolean
default: false
description: 'Skip tests during release build (not recommended)'

jobs:

Expand Down Expand Up @@ -201,6 +206,7 @@ jobs:
name: test on ${{ matrix.id }}
runs-on: [ self-hosted, Release, "${{ matrix.runner-arch }}" ]
timeout-minutes: 7200 # 5 days
if: ${{ inputs.skip_tests == 'true' }}
needs: [ build-release ]
strategy:
matrix:
Expand Down

0 comments on commit f76b82d

Please sign in to comment.