Skip to content

1.20.4 update

1.20.4 update #34

Workflow file for this run

#give the pipeline a name
name: Dart CI
#set conditions to trigger on
on:
push:
branches: [master]
pull_request:
branches: [master]
# define what happens when conditions are met
jobs:
build:
# use ubuntu's latest OS
runs-on: ubuntu-latest
# use the _/dart container for version 3+ (this makes `dart` available to use)
container:
image: dart:latest
# checkout the code, run pub get and finally run tests
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: dart pub get
- name: Lint Code
run: dart analyze lib/
- name: Run tests
run: dart run coverage:test_with_coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
file: coverage/lcov.info