add missing implemenations for exitCode. #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tool/run_unit_tests.dart | |
on: [push] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
sdk: [stable, beta, dev, 2.16.0, 2.17.0] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dart-lang/[email protected] | |
- name: Install dependencies | |
run: | | |
cd dcli_core | |
dart pub get | |
cd ../dcli | |
dart pub get | |
cd .. | |
- name: run unit tests | |
run: | | |
cd dcli | |
dart pub global activate -spath . | |
dart test | |