Skip to content

Commit

Permalink
Run emulators in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed Jul 9, 2024
1 parent 31fe399 commit e2e9562
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 2
- uses: actions/setup-node@v4
- uses: subosito/[email protected]
with:
channel: master
Expand All @@ -30,6 +31,9 @@ jobs:
- name: Add pub cache to PATH
run: echo "PUB_CACHE="$HOME/.pub-cache"" >> $GITHUB_ENV

- name: Install firebase CLI
run: npm install -g firebase-tools

- name: Install dependencies
run: dart pub get && cd example && dart pub get && cd -

Expand Down
2 changes: 1 addition & 1 deletion scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -e

dart pub global activate coverage

dart test --coverage="coverage"
firebase emulators:exec --only firestore,auth "dart test --coverage=coverage"

format_coverage --lcov --in=coverage --out=coverage.lcov --packages=.dart_tool/package_config.json --report-on=lib

0 comments on commit e2e9562

Please sign in to comment.