Add folder generation steps
This commit is contained in:
parent
33b7ad0058
commit
3fbc9f0693
|
@ -38,6 +38,10 @@ jobs:
|
||||||
- dart-dependencies-{{ checksum "pubspec.lock" }}
|
- dart-dependencies-{{ checksum "pubspec.lock" }}
|
||||||
- dart-dependencies-
|
- dart-dependencies-
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Make folder for analysis results
|
||||||
|
command: mkdir lint_analysis_data
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Analyze code
|
name: Analyze code
|
||||||
command: flutter analyze --no-fatal-infos > lint_analysis_data/results.txt
|
command: flutter analyze --no-fatal-infos > lint_analysis_data/results.txt
|
||||||
|
@ -61,12 +65,16 @@ jobs:
|
||||||
name: Install test report converter tool
|
name: Install test report converter tool
|
||||||
command: pub global activate junitreport
|
command: pub global activate junitreport
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Make folder for test results
|
||||||
|
command: mkdir -p test_results/flutter
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: flutter test --machine | ~/.pub-cache/bin/tojunit --output test-results/flutter/results.xml || true
|
command: flutter test --machine | ~/.pub-cache/bin/tojunit --output test_results/flutter/results.xml || true
|
||||||
|
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: test-results
|
path: test_results
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
build_and_test:
|
build_and_test:
|
||||||
|
|
Loading…
Reference in New Issue