Released 6.1.0. #2213
Workflow file for this run
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: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# macos-latest is arm64 and macos-13 is x86_64 details here: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories | |
os: [ubuntu-latest, windows-latest, macos-latest, macos-13] | |
# Can comment back in to test all beta, dev, 2.16.0, 2.17.0 if needed | |
sdk: [stable] | |
steps: | |
- uses: actions/[email protected] | |
- uses: dart-lang/[email protected] | |
- name: Install dependencies | |
run: | | |
cd dcli_core | |
dart pub get | |
cd ../dcli | |
dart pub get | |
cd .. | |
- name: Activate DCLI from Source | |
run: | | |
cd dcli | |
dart pub global activate -spath . | |
- name: Run All Tests | |
run: | | |
cd dcli | |
dart test . | |