Fix failing lint #10
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: Nitrogen Unit Tests | |
on: | |
push: | |
paths: | |
- nitrogen/** | |
- nitrogen_flutter_svg/** | |
- nitrogen_lottie/** | |
- nitrogen_types/** | |
- .github/workflows/nitrogen.yaml | |
pull_request: | |
paths: | |
- nitrogen/** | |
- nitrogen_flutter_svg/** | |
- nitrogen_lottie/** | |
- nitrogen_types/** | |
- .github/workflows/nitrogen.yaml | |
jobs: | |
test-nitrogen: | |
name: Run nitrogen tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: nitrogen | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/[email protected] | |
- run: flutter pub get | |
- run: flutter analyze --fatal-warnings | |
- run: flutter test | |
test-nitrogen-flutter-svg: | |
name: Run nitrogen_flutter_svg tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: nitrogen_flutter_svg | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/[email protected] | |
- run: flutter pub get | |
- run: flutter analyze | |
test-nitrogen-lottie: | |
name: Run nitrogen_lottie tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: nitrogen_lottie | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/[email protected] | |
- run: flutter pub get | |
- run: flutter analyze | |
test-nitrogen-types: | |
name: Run nitrogen_types tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: nitrogen_types | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/[email protected] | |
- run: flutter pub get | |
- run: flutter analyze --fatal-warnings |