Skip to content

♻️ migrate screwdriver_web to use web and js_interop. #123

♻️ migrate screwdriver_web to use web and js_interop.

♻️ migrate screwdriver_web to use web and js_interop. #123

Workflow file for this run

name: Tests & Coverage
on:
push:
branches:
- main
paths:
- '**.dart'
tags-ignore:
- '**'
pull_request:
workflow_dispatch:
jobs:
tests_and_coverage:
runs-on: macos-latest
steps:
- name: Tap Google's Dart formula repository
run: brew tap dart-lang/dart
- name: Install the Dart formula
run: brew install dart
- uses: actions/checkout@v2
- name: Install dependencies
run: dart pub get
- name: Run tests
run: dart pub run test
- name: Install coverage package
run: dart pub global activate coverage
- name: Generate coverage report
run: dart pub global run coverage:test_with_coverage
- name: Generate lcov file
run: dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --lcov -i coverage/coverage.json -o coverage/lcov.info
- uses: codecov/codecov-action@v3
with:
file: coverage/lcov.info