Skip to content

urusai88 is testing out GitHub Actions πŸš€ #4

urusai88 is testing out GitHub Actions πŸš€

urusai88 is testing out GitHub Actions πŸš€ #4

Workflow file for this run

name: Build
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
on:
push:
branches:
- main
- coverage
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: dart test -j 1 --coverage .coverage
- run: dart run coverage:format_coverage -l -i .coverage -o .coverage/coverage.lcov --report-on=lib
- name: Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: .coverage
files: coverage.lcov