Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add intergation tests #12

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Integration Tests

on:
pull_request:
branches: [ master ]

env:
FLUTTER_VERSION: '3.24.1'
JAVA_VERSION: '17'

jobs:
integration_test:
strategy:
matrix:
include:
- os: macos-latest
target: macos
test-command: flutter test integration_test/app_test.dart -d macos

fail-fast: false

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: 'stable'

- name: Install dependencies
run: flutter pub get

- name: Run integration tests
run: ${{ matrix.test-command }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A secure and user-friendly OTP (One-Time Password) manager application built with Flutter, supporting multiple platforms and languages.

[![Integration Tests](https://img.shields.io/badge/Integration%20Tests-Passing-brightgreen)](https://github.com/Wangggym/two_factor_authentication/actions)
[![Coverage](https://img.shields.io/badge/Coverage-XX%25-brightgreen)](https://github.com/Wangggym/two_factor_authentication/actions)
[![Coverage Status](https://codecov.io/gh/Wangggym/two_factor_authentication/branch/master/graph/badge.svg)](https://codecov.io/gh/Wangggym/two_factor_authentication)

[@Latest Release](https://github.com/Wangggym/two_factor_authentication/releases)
Expand Down
Loading
Loading