Skip to content

roll to Chrome 124.0.6367.207 #65

roll to Chrome 124.0.6367.207

roll to Chrome 124.0.6367.207 #65

Workflow file for this run

name: Coverage
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Run tests with coverage
runs-on: macos-latest
steps:
- uses: dart-lang/setup-dart@v1
with:
sdk: 'stable'
- uses: actions/checkout@v4
- run: dart pub get
- run: dart example/download_chrome.dart
- run: dart test -P ci --platform vm --coverage=coverage
env:
PUPPETEER_SKIP_GOLDEN_COMPARISON: 'true'
- name: Install coverage tools
run: dart pub global activate coverage
- name: format coverage
run: $HOME/.pub-cache/bin/format_coverage --lcov --in=coverage --out=coverage.lcov --report-on=lib
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}