Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4c131d1
feat refactor
roandersonpinheiro Dec 6, 2025
5cf55b1
feat refactor
roandersonpinheiro Dec 10, 2025
fb24175
feat refactor
roandersonpinheiro Dec 10, 2025
1f4a1a8
feat refactor
roandersonpinheiro Dec 10, 2025
67c2775
feat fix ci
roandersonpinheiro Dec 11, 2025
38f6668
feat fix ci
roandersonpinheiro Dec 11, 2025
c45844c
feat fix ci
roandersonpinheiro Dec 11, 2025
db77380
feat fix ci
roandersonpinheiro Dec 11, 2025
324c12a
feat fix ci
roandersonpinheiro Dec 11, 2025
1e4fa23
feat fix ci
roandersonpinheiro Dec 11, 2025
3c772e2
feat fix ci
roandersonpinheiro Dec 11, 2025
f5021b0
feat fix ci
roandersonpinheiro Dec 11, 2025
bc20825
feat fix ci
roandersonpinheiro Dec 11, 2025
2a662ab
feat fix ci
roandersonpinheiro Dec 11, 2025
c38f91a
feat fix ci
roandersonpinheiro Dec 11, 2025
19b31bb
feat fix ci
roandersonpinheiro Dec 11, 2025
3843375
feat fix ci
roandersonpinheiro Dec 12, 2025
44c463b
feat: add PR apk build workflow and coverage exclusions
roandersonpinheiro Dec 12, 2025
18016e9
fix(ci/cd): remove deprecated null-safety flag and fix build commands
roandersonpinheiro Dec 12, 2025
ef64d7d
fix(android): upgrade kotlin version to 1.9.0 to support flutter 3.24.x
roandersonpinheiro Dec 12, 2025
c673f06
fix(android): upgrade to compileSdk 35 and override win32 to fix dart…
roandersonpinheiro Dec 12, 2025
aa517ad
fix(deps): downgrade win32 to 4.1.0 for dart 3.3 compatibility
roandersonpinheiro Dec 12, 2025
0b6c405
fix(android): revert to compileSdk 34 to avoid sdk 35 corruption issues
roandersonpinheiro Dec 12, 2025
c52c02e
fix(ci): remove coverage filtering to fix test failures
roandersonpinheiro Dec 12, 2025
2b7b219
feat(ci): change to debug APK builds instead of release
roandersonpinheiro Dec 12, 2025
c17bf5e
fix(deps): pin win32 to exact version 5.0.0 to avoid UnmodifiableUint…
roandersonpinheiro Dec 12, 2025
76756f4
fix(deps): update win32 to 5.5.0 to fix UnmodifiableUint8ListView error
roandersonpinheiro Dec 12, 2025
e652919
fix(ci): add flutter clean and pub cache repair to force dependency o…
roandersonpinheiro Dec 12, 2025
f6cd290
fix(deps): add win32 as direct dependency to ensure correct version i…
roandersonpinheiro Dec 12, 2025
e8b1750
chore(deps): upgrade all dependencies to latest compatible versions
roandersonpinheiro Dec 12, 2025
dc49003
feat: upgrade dependencies and Android build tools
roandersonpinheiro Dec 12, 2025
23b4114
Merge remote-tracking branch 'origin/feat-refactor' into feat-refactor
roandersonpinheiro Dec 12, 2025
ed212dc
fix(android): update to SDK 36 and NDK 27, fix win32 version
roandersonpinheiro Dec 12, 2025
92a967d
fix: update dependency_overrides win32 to 5.5.4
roandersonpinheiro Dec 12, 2025
9bcbc9e
chore: update Flutter to 3.27.1 in CI/CD workflows
roandersonpinheiro Dec 12, 2025
95038cb
fix: revert Flutter version to 3.19.4 to match local environment
roandersonpinheiro Dec 12, 2025
aac70b5
fix: revert win32 to 5.5.0 for Dart 3.3 compatibility
roandersonpinheiro Dec 12, 2025
b9604fc
feat: change workflows to build release APK instead of debug
roandersonpinheiro Dec 12, 2025
e30c03a
docs: improve code documentation and remove unnecessary comments
roandersonpinheiro Dec 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
45 changes: 0 additions & 45 deletions .github/workflows/build_ios.yml

This file was deleted.

61 changes: 61 additions & 0 deletions .github/workflows/flutter_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Flutter CD - Android Build

on:
release:
types: [published]
workflow_dispatch: # Permite executar manualmente

jobs:
build:
name: Build APK
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.19.4'
cache: false

- name: Clean Dependencies
working-directory: med_system_app
run: |
rm -f pubspec.lock
flutter clean
flutter pub cache repair

- name: Get Dependencies
working-directory: med_system_app
run: flutter pub get

- name: Run Build Runner
working-directory: med_system_app
run: dart run build_runner build --delete-conflicting-outputs

- name: Build APK
working-directory: med_system_app
run: flutter build apk --release

- name: Upload APK Artifact
uses: actions/upload-artifact@v4
with:
name: app-release
path: med_system_app/build/app/outputs/flutter-apk/app-release.apk

- name: Upload APK to Release
if: github.event_name == 'release'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: med_system_app/build/app/outputs/flutter-apk/app-release.apk
asset_name: med_system_app_${{ github.ref_name }}.apk
tag: ${{ github.ref }}
59 changes: 59 additions & 0 deletions .github/workflows/flutter_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Flutter CI

on:
push:
branches: [ "main", "master", "develop" ]
pull_request:
branches: [ "main", "master", "develop" ]

jobs:
build:
name: Build and Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.19.4'
cache: false

- name: Verify Flutter Installation
run: |
flutter doctor -v
flutter --version

- name: Clean Dependencies
working-directory: med_system_app
run: rm -f pubspec.lock

- name: Get Dependencies
working-directory: med_system_app
run: flutter pub get

- name: Run Build Runner
working-directory: med_system_app
run: dart run build_runner build --delete-conflicting-outputs

- name: Analyze Code
working-directory: med_system_app
run: flutter analyze --no-fatal-infos

- name: Run Tests
working-directory: med_system_app
run: flutter test --coverage

- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
file: med_system_app/coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
53 changes: 53 additions & 0 deletions .github/workflows/flutter_pr_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Flutter PR Build

on:
pull_request:
types: [opened, synchronize, reopened]
branches: [ "main", "master", "develop" ]

jobs:
build-pr-apk:
name: Build PR APK
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.19.4'
cache: false

- name: Clean Dependencies
working-directory: med_system_app
run: |
rm -f pubspec.lock
flutter clean
flutter pub cache repair

- name: Get Dependencies
working-directory: med_system_app
run: flutter pub get

- name: Run Build Runner
working-directory: med_system_app
run: dart run build_runner build --delete-conflicting-outputs

- name: Build APK (Release)
working-directory: med_system_app
run: flutter build apk --release

- name: Upload APK Artifact
uses: actions/upload-artifact@v4
with:
name: pr-${{ github.event.number }}-apk
path: med_system_app/build/app/outputs/flutter-apk/app-release.apk
retention-days: 14
Loading