Skip to content

Commit

Permalink
Merge pull request #22 from HasiniSama/find-a-bus-for-child
Browse files Browse the repository at this point in the history
Unit tests for login and sign up
  • Loading branch information
HasiniSama authored Aug 13, 2024
2 parents 43d3679 + 1e86844 commit 996d09f
Show file tree
Hide file tree
Showing 193 changed files with 25,191 additions and 141 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/flutter-test-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Flutter Test and Coverage Report

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.19.2"

- name: Install dependencies
working-directory: frontend
run: flutter pub get

- name: Run tests
working-directory: frontend
run: flutter test --coverage

- name: Upload coverage report
uses: actions/upload-artifact@v2
with:
name: coverage-report
path: frontend/coverage/lcov.info
Binary file added frontend/coverage/html/amber.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions frontend/coverage/html/cmd_line
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
genhtml coverage/lcov.info -o coverage/html
Binary file added frontend/coverage/html/emerald.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 996d09f

Please sign in to comment.