1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2024-12-22 05:57:28 +01:00

Add folder generation steps

This commit is contained in:
Oystein Kristoffer Tveit 2021-03-06 01:02:39 +01:00
parent 33b7ad0058
commit 3fbc9f0693

View File

@ -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: