eksplicit mapping af envs
This commit is contained in:
34
.gitea/workflows/flutter.yml
Normal file
34
.gitea/workflows/flutter.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
name: Flutter CI
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "app/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- "app/**"
|
||||
|
||||
jobs:
|
||||
analyze-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: app
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: "3.22.x"
|
||||
channel: stable
|
||||
cache: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Analyze
|
||||
run: flutter analyze --no-fatal-infos
|
||||
|
||||
- name: Run tests
|
||||
run: flutter test
|
||||
Reference in New Issue
Block a user