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-
|
||||
|
||||
- run:
|
||||
name: Make folder for analysis results
|
||||
command: mkdir lint_analysis_data
|
||||
|
||||
- run:
|
||||
name: Analyze code
|
||||
command: flutter analyze --no-fatal-infos > lint_analysis_data/results.txt
|
||||
|
@ -61,12 +65,16 @@ jobs:
|
|||
name: Install test report converter tool
|
||||
command: pub global activate junitreport
|
||||
|
||||
- run:
|
||||
name: Make folder for test results
|
||||
command: mkdir -p test_results/flutter
|
||||
|
||||
- run:
|
||||
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:
|
||||
path: test-results
|
||||
path: test_results
|
||||
|
||||
workflows:
|
||||
build_and_test:
|
||||
|
|
Loading…
Reference in New Issue