feat: "Implemented Call Adapter (#729)" (#730) (#731) #301
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: test on multiple dart sdk | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
sdk: [stable] | |
steps: | |
- uses: actions/[email protected] | |
- uses: dart-lang/[email protected] | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: Generate code | |
run: cd example && dart pub get && dart pub run build_runner build --delete-conflicting-outputs | |
- name: Analyze packages | |
run: PKGS="example retrofit generator" ./tool/travis.sh dartanalyzer | |
- name: Install dependencies | |
run: cd generator && dart pub get | |
- name: Run tests | |
run: | | |
cd generator && dart pub run test |