mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10:40 +00:00
added option to skip integration tests
This commit is contained in:
parent
846a2b2254
commit
d98b2a62ff
1 changed files with 12 additions and 3 deletions
15
.github/workflows/create_release.yml
vendored
15
.github/workflows/create_release.yml
vendored
|
@ -22,16 +22,23 @@ on:
|
|||
description: "Release notes"
|
||||
required: true
|
||||
type: string
|
||||
run-integration-tests:
|
||||
description: "Run integration tests"
|
||||
required: true
|
||||
type: boolean
|
||||
default: true
|
||||
|
||||
jobs:
|
||||
run-integration-tests:
|
||||
name: Run integration tests
|
||||
if: ${{ inputs.run-integration-tests }}
|
||||
uses: ./.github/workflows/run_integration_tests.yml
|
||||
secrets: inherit
|
||||
|
||||
build-android:
|
||||
name: Build Android (.${{ matrix.binary-type }})
|
||||
needs: [run-integration-tests]
|
||||
if: always() && (needs.run-integration-tests.result == 'success' || needs.run-integration-tests.result == 'skipped')
|
||||
strategy:
|
||||
matrix:
|
||||
binary-type: [apk, appbundle]
|
||||
|
@ -46,6 +53,7 @@ jobs:
|
|||
build-ios:
|
||||
name: Build iOS (.ipa)
|
||||
needs: [run-integration-tests]
|
||||
if: always() && (needs.run-integration-tests.result == 'success' || needs.run-integration-tests.result == 'skipped')
|
||||
uses: ./.github/workflows/build_ipa.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
|
@ -54,6 +62,7 @@ jobs:
|
|||
|
||||
generate-release-notes:
|
||||
name: Generate release notes
|
||||
needs: [build-android, build-ios]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Generate release notes
|
||||
|
@ -69,7 +78,7 @@ jobs:
|
|||
|
||||
create-github-release:
|
||||
name: Create Github release
|
||||
needs: [build-android, build-ios, generate-release-notes]
|
||||
needs: [generate-release-notes]
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
permissions:
|
||||
|
@ -119,7 +128,7 @@ jobs:
|
|||
|
||||
create-google-play-release:
|
||||
name: Create Google Play release
|
||||
needs: [create-github-release]
|
||||
needs: [generate-release-notes]
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
steps:
|
||||
|
@ -189,7 +198,7 @@ jobs:
|
|||
|
||||
create-app-store-release:
|
||||
name: Create App Store release
|
||||
needs: [create-github-release]
|
||||
needs: [generate-release-notes]
|
||||
runs-on: macos-13
|
||||
if: false
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue