Adds dataset_python_config for Yardstick integration #17
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: Config Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - 'packages/dataset_config_dart/**' | |
| - '.github/workflows/config_dart_tests.yml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/dataset_config_dart/**' | |
| - '.github/workflows/config_dart_tests.yml' | |
| jobs: | |
| config-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Install Flutter | |
| run: | | |
| git clone https://github.com/flutter/flutter.git --depth 1 -b stable $HOME/flutter | |
| echo "$HOME/flutter/bin" >> $GITHUB_PATH | |
| echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Analyze | |
| working-directory: packages/dataset_config_dart | |
| run: dart analyze --fatal-infos | |
| - name: Run tests | |
| working-directory: packages/dataset_config_dart | |
| run: dart test |