mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
run integration tests before build
This commit is contained in:
parent
ba9d011fbe
commit
f314102c4b
1 changed files with 7 additions and 3 deletions
8
.github/workflows/create_release.yml
vendored
8
.github/workflows/create_release.yml
vendored
|
@ -3,7 +3,6 @@
|
||||||
# separate terms of service, privacy policy, and support
|
# separate terms of service, privacy policy, and support
|
||||||
# documentation.
|
# documentation.
|
||||||
|
|
||||||
|
|
||||||
# This workflow uses perl regex. For better syntaxis understading see these docs:
|
# This workflow uses perl regex. For better syntaxis understading see these docs:
|
||||||
# https://perldoc.perl.org/perlrequick#Search-and-replace
|
# https://perldoc.perl.org/perlrequick#Search-and-replace
|
||||||
# https://perldoc.perl.org/perlre#Other-Modifiers
|
# https://perldoc.perl.org/perlre#Other-Modifiers
|
||||||
|
@ -40,8 +39,13 @@ env:
|
||||||
BUILD_ARGS: --release --flavor prod -t lib/main_prod.dart
|
BUILD_ARGS: --release --flavor prod -t lib/main_prod.dart
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
run-integration-tests:
|
||||||
|
name: Run integration tests
|
||||||
|
uses: ./.github/workflows/run_integration_tests.yml
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build .apk & .aab
|
name: Build .apk & .aab
|
||||||
|
needs: [run-integration-tests]
|
||||||
if: ${{ inputs.github-release || inputs.google-play-release }}
|
if: ${{ inputs.github-release || inputs.google-play-release }}
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
@ -101,7 +105,7 @@ jobs:
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: "stable"
|
channel: "stable"
|
||||||
flutter-version: '3.10.0'
|
flutter-version: "3.10.0"
|
||||||
|
|
||||||
- name: Prepare flutter project
|
- name: Prepare flutter project
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue