fix : when the HealthCheck ScheduledThreadPoolExecutor error , the job will be shutdown #505
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 turms-client-dart | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
sdk: [3.0, stable, beta] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up Dart | |
uses: dart-lang/[email protected] | |
with: | |
sdk: ${{ matrix.sdk }} | |
- name: Install dependencies | |
working-directory: turms-client-dart | |
run: dart pub get | |
- name: Verify formatting | |
working-directory: turms-client-dart | |
run: dart format --output=none --set-exit-if-changed . | |
- name: Analyze project source | |
working-directory: turms-client-dart | |
run: dart analyze | |
- name: Run tests | |
working-directory: turms-client-dart | |
run: dart test |