Skip to content

Commit

Permalink
fix: update coverage directory
Browse files Browse the repository at this point in the history
  • Loading branch information
HamdaanAliQuatil committed Jun 10, 2024
1 parent ef33e66 commit 114acb3
Show file tree
Hide file tree
Showing 3 changed files with 3,972 additions and 24 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
--driver=test_driver/integration_test.dart \
--target=integration_test/webcrypto_test.dart \
-d chrome
- run: xvfb-run flutter pub run test -p vm,chrome,firefox --coverage
- run: xvfb-run flutter pub run test -p vm,chrome,firefox
- name: Convert coverage to lcov
run: |
dart run coverage:format_coverage -i coverage -o coverage/lcov.info --lcov --report-on lib/
dart run coverage:format_coverage -i ./coverage -o coverage/lcov.info --lcov --report-on lib/
- uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -76,10 +76,10 @@ jobs:
--driver=test_driver/integration_test.dart \
--target=integration_test/webcrypto_test.dart \
-d chrome
- run: flutter pub run test -p vm,chrome --coverage # TODO: Enable firefox if it works
- run: flutter pub run test -p vm,chrome # TODO: Enable firefox if it works
- name: Convert coverage to lcov
run: |
dart run coverage:format_coverage -i coverage -o coverage/lcov.info --lcov --report-on lib/
dart run coverage:format_coverage -i ./coverage -o coverage/lcov.info --lcov --report-on lib/
- uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -114,10 +114,10 @@ jobs:
--driver=test_driver/integration_test.dart \
--target=integration_test/webcrypto_test.dart \
-d chrome
- run: flutter pub run test -p vm,chrome,firefox --coverage
- run: flutter pub run test -p vm,chrome,firefox
- name: Convert coverage to lcov
run: |
dart run coverage:format_coverage -i coverage -o coverage/lcov.info --lcov --report-on lib/
dart run coverage:format_coverage -i ./coverage -o coverage/lcov.info --lcov --report-on lib/
- uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
working-directory: ./example
- name: Convert coverage to lcov
run: |
dart run coverage:format_coverage -i coverage -o coverage/lcov.info --lcov --report-on lib/
dart run coverage:format_coverage -i ./coverage -o coverage/lcov.info --lcov --report-on lib/
- uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
script: flutter test integration_test/webcrypto_test.dart -d android --coverage
- name: Convert coverage to lcov
run: |
dart run coverage:format_coverage -i coverage -o coverage/lcov.info --lcov --report-on lib/
dart run coverage:format_coverage -i ./coverage -o coverage/lcov.info --lcov --report-on lib/
- uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading

0 comments on commit 114acb3

Please sign in to comment.