Comprehensive Refactoring of Package Workflows and CI Processes Across Platforms #60
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: CI for the web implementation package | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'flutter_custom_tabs_web/**' | |
- '.github/workflows/web_implementation_package.yml' | |
- '!**.md' | |
pull_request: | |
paths: | |
- 'flutter_custom_tabs_web/**' | |
- '.github/workflows/web_implementation_package.yml' | |
- '!**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: Get flutter dependencies | |
run: flutter pub get | |
working-directory: ./flutter_custom_tabs_web | |
- name: Check for any formatting issues in the code | |
run: dart format --set-exit-if-changed . | |
working-directory: ./flutter_custom_tabs_web | |
- name: Statically analyze the Dart code for any errors | |
run: flutter analyze . | |
working-directory: ./flutter_custom_tabs_web | |
# TODO: Consider how to do integration tests on GitHub Actions. | |
# - uses: nanasess/setup-chromedriver@master | |
# - name: Start ChromeDriver | |
# run: chromedriver --port=444 | |
# - name: Run unit tests | |
# run: ./run_test.sh | |
# working-directory: ./flutter_custom_tabs_web/example |