Skip to content

Fix nitrogen github action #11

Fix nitrogen github action

Fix nitrogen github action #11

Workflow file for this run

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