Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
build:
name: Build ${{matrix.sdk}} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./dart
strategy:
fail-fast: false
matrix:
Expand All @@ -32,24 +35,17 @@ jobs:
with:
release-channel: ${{ matrix.sdk }}
- uses: actions/checkout@v2
- run: |
cd dart
pub get
- run: pub get
- name: Test on Dart VM and collect code coverage
run: |
cd dart
pub run test_coverage
uses: stelynx/[email protected]
with:
package: sentry
path: dart # seems the action does a cd {BLA} and ignores the workdir we set
- uses: codecov/codecov-action@v1
- name: Test on Chrome
run: |
cd dart
pub run test -p vm test/*
- run: |
cd dart
dartanalyzer --fatal-warnings ./
- run: |
cd dart
dartfmt -n --set-exit-if-changed ./
run: pub run test -p chrome test/*
- run: dartanalyzer --fatal-warnings ./
- run: dartfmt -n --set-exit-if-changed ./
package-analysis:
runs-on: ubuntu-latest
steps:
Expand Down