Spelling #136
Workflow file for this run
This file contains hidden or 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: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
sdk: [stable, beta] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: Install dependencies | |
run: | | |
dart pub global activate melos | |
melos bootstrap | |
- name: Setup integration test | |
run: | | |
cd integration_test | |
./setup.sh | |
- name: Run tests | |
run: melos run test | |
- name: Run integration tests | |
run: | | |
cd integration_test/petstore/petstore_test | |
dart pub get | |
dart test --concurrency=1 |