Updated content after adding new day count conventions #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dart | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 | |
- name: Install dependencies | |
run: dart pub get | |
- name: Run tests with coverage | |
run: dart test --coverage="coverage" | |
- name: Convert coverage to ICOV | |
run: dart run coverage:format_coverage --lcov --check-ignore --in=coverage --out=coverage.lcov --report-on=lib | |
- name: Upload lcov file to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
files: ./coverage.lcov | |
fail_ci_if_error: true | |
verbose: true |