Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion .github/workflows/dart_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ on:
required: false
type: string
default: "."
run_skipped:
required: false
type: boolean
default: false
secrets:
ssh_key:
required: false
Expand Down Expand Up @@ -100,7 +104,7 @@ jobs:
- name: 🧪 Run Tests
run: |
dart pub global activate coverage 1.2.0
dart test -j ${{inputs.concurrency}} --coverage=coverage --platform=${{inputs.platform}} && dart pub global run coverage:format_coverage --lcov ${{(inputs.check_ignore && '--check-ignore') || ''}} --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=${{inputs.report_on}}
dart test -j ${{inputs.concurrency}} --coverage=coverage --platform=${{inputs.platform}} && dart pub global run coverage:format_coverage --lcov ${{(inputs.check_ignore && '--check-ignore') || ''}} --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=${{inputs.report_on}} ${{(inputs.run_skipped && '--run-skipped') || ''}}

- name: 📊 Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
Expand Down
6 changes: 6 additions & 0 deletions site/docs/workflows/dart_package.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ The Dart package workflow consists of the following steps:

**Default** `"vm"`

### `run_skipped`

**Optional** Run skipped tests instead of skipping them.

**Default** `false`

## Secrets

### `ssh_key`
Expand Down