Skip to content
Merged
Changes from 1 commit
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
Next Next commit
fix: dart ci
  • Loading branch information
bruno-garcia committed Oct 14, 2020
commit 368a1838a0500f2415baa4160109b789593dcbda
24 changes: 9 additions & 15 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
build:
name: Build ${{matrix.sdk}} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
env:
working-directory: ./dart
strategy:
fail-fast: false
matrix:
Expand All @@ -32,24 +34,16 @@ 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
- 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