mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +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"
|
description: "Release notes"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
run-integration-tests:
|
||||||
|
description: "Run integration tests"
|
||||||
|
required: true
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-integration-tests:
|
run-integration-tests:
|
||||||
name: Run integration tests
|
name: Run integration tests
|
||||||
|
if: ${{ inputs.run-integration-tests }}
|
||||||
uses: ./.github/workflows/run_integration_tests.yml
|
uses: ./.github/workflows/run_integration_tests.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
build-android:
|
build-android:
|
||||||
name: Build Android (.${{ matrix.binary-type }})
|
name: Build Android (.${{ matrix.binary-type }})
|
||||||
needs: [run-integration-tests]
|
needs: [run-integration-tests]
|
||||||
|
if: always() && (needs.run-integration-tests.result == 'success' || needs.run-integration-tests.result == 'skipped')
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
binary-type: [apk, appbundle]
|
binary-type: [apk, appbundle]
|
||||||
|
@ -46,6 +53,7 @@ jobs:
|
||||||
build-ios:
|
build-ios:
|
||||||
name: Build iOS (.ipa)
|
name: Build iOS (.ipa)
|
||||||
needs: [run-integration-tests]
|
needs: [run-integration-tests]
|
||||||
|
if: always() && (needs.run-integration-tests.result == 'success' || needs.run-integration-tests.result == 'skipped')
|
||||||
uses: ./.github/workflows/build_ipa.yml
|
uses: ./.github/workflows/build_ipa.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
|
@ -54,6 +62,7 @@ jobs:
|
||||||
|
|
||||||
generate-release-notes:
|
generate-release-notes:
|
||||||
name: Generate release notes
|
name: Generate release notes
|
||||||
|
needs: [build-android, build-ios]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Generate release notes
|
- name: Generate release notes
|
||||||
|
@ -69,7 +78,7 @@ jobs:
|
||||||
|
|
||||||
create-github-release:
|
create-github-release:
|
||||||
name: Create Github release
|
name: Create Github release
|
||||||
needs: [build-android, build-ios, generate-release-notes]
|
needs: [generate-release-notes]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
if: false
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -119,7 +128,7 @@ jobs:
|
||||||
|
|
||||||
create-google-play-release:
|
create-google-play-release:
|
||||||
name: Create Google Play release
|
name: Create Google Play release
|
||||||
needs: [create-github-release]
|
needs: [generate-release-notes]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
if: false
|
||||||
steps:
|
steps:
|
||||||
|
@ -189,7 +198,7 @@ jobs:
|
||||||
|
|
||||||
create-app-store-release:
|
create-app-store-release:
|
||||||
name: Create App Store release
|
name: Create App Store release
|
||||||
needs: [create-github-release]
|
needs: [generate-release-notes]
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
if: false
|
if: false
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue