Skip to content

Fix incorrect context used when creating pw.Widget #144

Fix incorrect context used when creating pw.Widget

Fix incorrect context used when creating pw.Widget #144

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Clone Flutter repository with master channel
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.0'
channel: 'stable'
- run: flutter doctor -v
- run: flutter pub get
# Uncomment this step to verify the use of 'dart format' on each commit.
# - name: Verify formatting
# run: dart format --output=none --set-exit-if-changed .
# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
continue-on-error: true
run: flutter analyze
- name: Run Flutter tests
run: mkdir test/output && flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}