Skip to content

chore(deps): update actions/checkout action to v4 #106

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #106

Workflow file for this run

name: "Test"
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
sdk: [2.14.0]
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Dart SKD , v2.14.0
uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies
run: pub get
- name: Run tests
run: dart test .
- name: Install coverage
run: pub global activate coverage
- name: Format json files to lcov
run: pub global run coverage:format_coverage -l --packages=.test -i coverage/test/ -o coverage/coverage.lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage/coverage.lcov