[READ ONLY MIRROR] Open Source TikTok alternative built on AT Protocol github.com/sprksocial/client
flutter atproto video dart
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: add flutter test step

+62 -9
+3 -1
.github/workflows/flutter_lint.yml
··· 4 4 pull_request: 5 5 branches: [main] 6 6 types: [opened, synchronize, reopened] 7 + push: 8 + branches: [main] 7 9 8 10 permissions: 9 11 contents: read ··· 70 72 run: flutter analyze --write=flutter_analyze.log ${{ steps.analyze_targets.outputs.targets }} 71 73 72 74 - name: Flutter Analyze Commenter 73 - if: ${{ !cancelled() && steps.changed_files.outputs.any_changed == 'true' }} # Run only when analyze executed 75 + if: ${{ !cancelled() && steps.changed_files.outputs.any_changed == 'true' && github.event_name == 'pull_request' }} # Run only when analyze executed and on PRs 74 76 uses: yorifuji/flutter-analyze-commenter@v1 75 77 with: 76 78 analyze-log: flutter_analyze.log
+51
.github/workflows/flutter_test.yml
··· 1 + name: Flutter Test 2 + 3 + on: 4 + pull_request: 5 + branches: [main] 6 + types: [opened, synchronize, reopened] 7 + push: 8 + branches: [main] 9 + 10 + concurrency: 11 + group: ${{ github.workflow }}-${{ github.ref }} 12 + cancel-in-progress: true 13 + 14 + permissions: 15 + contents: read 16 + pull-requests: write 17 + 18 + jobs: 19 + test: 20 + runs-on: blacksmith-4vcpu-ubuntu-2404 21 + 22 + steps: 23 + - name: Checkout Repository 24 + uses: actions/checkout@v4 25 + 26 + - name: Set up Flutter 27 + uses: subosito/flutter-action@v2 28 + with: 29 + channel: "stable" 30 + flutter-version: 3.41.3 31 + cache: true 32 + 33 + - name: Setup .env 34 + run: touch .env 35 + 36 + - name: Install dependencies 37 + run: flutter pub get --enforce-lockfile 38 + 39 + - name: Run code generation 40 + run: dart run build_runner build --delete-conflicting-outputs 41 + 42 + - name: Run tests 43 + run: flutter test --reporter=expanded 44 + 45 + - name: Upload test results 46 + if: always() 47 + uses: actions/upload-artifact@v4 48 + with: 49 + name: test-results 50 + path: test/ 51 + retention-days: 7
+6 -6
pubspec.lock
··· 1227 1227 dependency: transitive 1228 1228 description: 1229 1229 name: path_provider_android 1230 - sha256: "914a07484c4380e572998d30486e77e0d9cd2faec72fee268086d07bf7f302c9" 1230 + sha256: "69cbd515a62b94d32a7944f086b2f82b4ac40a1d45bebfc00813a430ab2dabcd" 1231 1231 url: "https://pub.dev" 1232 1232 source: hosted 1233 - version: "2.3.0" 1233 + version: "2.3.1" 1234 1234 path_provider_foundation: 1235 1235 dependency: transitive 1236 1236 description: ··· 1323 1323 dependency: "direct main" 1324 1324 description: 1325 1325 name: posthog_flutter 1326 - sha256: "11ec98022a5e82388f32bab25e2899ba6d78fb327c250294b1cbb5bb96a4fada" 1326 + sha256: "50a3a41b946635c4dcae289d58a27b76dc41dffeb7b8fa907020c05697c13bcb" 1327 1327 url: "https://pub.dev" 1328 1328 source: hosted 1329 - version: "5.23.0" 1329 + version: "5.23.1" 1330 1330 pro_image_editor: 1331 1331 dependency: "direct main" 1332 1332 description: 1333 1333 name: pro_image_editor 1334 - sha256: c10a89dfc14ead9cc53f70944d238100b129d40b10038ef7eddae98b1698a8c3 1334 + sha256: "0d26c103b9dc1a1c228af853ee85267917515f891d50e45cf3562b4e2d22d63d" 1335 1335 url: "https://pub.dev" 1336 1336 source: hosted 1337 - version: "12.1.0" 1337 + version: "12.2.0" 1338 1338 pro_video_editor: 1339 1339 dependency: "direct main" 1340 1340 description:
+2 -2
test/src/core/utils/label_utils_test.dart
··· 132 132 ], 133 133 ); 134 134 135 - final label = (String val) => Label( 135 + Label label(String val) => Label( 136 136 src: 'did:plc:l', 137 137 uri: 'at://test', 138 138 val: val, ··· 187 187 ], 188 188 ); 189 189 190 - final label = (String val) => Label( 190 + Label label(String val) => Label( 191 191 src: 'did:plc:l', 192 192 uri: 'at://test', 193 193 val: val,