add a skip value, so we can run and skip tests at the same level. (#2413)

This commit is contained in:
DaneEvans 2025-07-12 11:31:58 +10:00 committed by GitHub
parent 929dc5e6f0
commit 91cc999523
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 3 deletions

View file

@ -8,6 +8,11 @@ on:
required: false
type: boolean
default: true
skip_tests:
description: 'Whether to skip running tests'
required: false
type: boolean
default: false
secrets:
GRADLE_ENCRYPTION_KEY:
required: false
@ -16,6 +21,7 @@ jobs:
build_and_detekt:
runs-on: ubuntu-latest
timeout-minutes: 35
if: ${{ !inputs.skip_tests }}
steps:
- name: Checkout code
uses: actions/checkout@v4