Skip to content

Commit

Permalink
Trying to get coverage for dart version
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed Aug 2, 2023
1 parent df34568 commit 9d54371
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,22 @@ jobs:
with:
cache: true
channel: 'stable' # or: 'beta', 'dev' or 'master'
- run: flutter --version
- run: flutter doctor --verbose
- run: flutter pub get
- run: flutter config --enable-windows-desktop
- run: flutter build windows
- run: flutter test
- name: Setup flutter dependencies
run: |
flutter --version
flutter doctor --verbose
flutter pub get
- name: Build for windows
run: |
flutter config --enable-windows-desktop
flutter build windows
- name: Test
run: |
choco install lcov
flutter test --coverage
perl %GENHTML% -o coverage\html coverage\lcov.info
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: ./tictactoe_dart/coverage/report/

0 comments on commit 9d54371

Please sign in to comment.