Skip to content

[Murat] Remove MaskSplitCharacter enum and add comments to explain fu… #43

[Murat] Remove MaskSplitCharacter enum and add comments to explain fu…

[Murat] Remove MaskSplitCharacter enum and add comments to explain fu… #43

Workflow file for this run

name: main
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Install dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze
test:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Install dependencies
run: flutter pub get
- name: Run tests
run: flutter test --coverage
- name: Store coverage report
uses: actions/upload-artifact@v2
with:
name: coverage
path: coverage/lcov.info
upload-coverage:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v2
- name: Download coverage report
uses: actions/download-artifact@v2
with:
name: coverage
path: coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true