Skip to content

fix(ci): Point to correct packages file #7

fix(ci): Point to correct packages file

fix(ci): Point to correct packages file #7

Workflow file for this run

name: "Test"
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- uses: stelynx/dart-full-coverage@v1.0.5
with:
package: youtube_caption_scraper
ignore: "example/*"
- name: Install dependencies
run: dart pub get
- name: Analyze codebase
run: dart analyze
- name: Run tests
run: |
dart pub global activate coverage
dart test --coverage="coverage"
format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
- uses: codecov/codecov-action@v2