Compare commits

...

2 Commits

Author SHA1 Message Date
245b6384be fix(tests): Adapt avatar tests to new moxxmpp stream requirement
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-10-07 23:58:11 +02:00
119ac4c350 feat(ci): Run tests and linter 2023-10-07 23:53:30 +02:00
4 changed files with 25 additions and 8 deletions

View File

@ -6,6 +6,22 @@ pipeline:
image: bash:alpine3.18 image: bash:alpine3.18
commands: commands:
- bash ./scripts/check-fastlane-metadata.sh - bash ./scripts/check-fastlane-metadata.sh
when:
# Only run this check when the Fastlane metadata changes
path:
includes: ['fastlane/metadata/**']
analysis:
image: git.polynom.me/papatutuwawa/docker-flutter:3.13.6
commands:
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
- dart run build_runner build
- dart run pigeon --input pigeon/quirks.dart
- flutter analyze --no-pub
- flutter test --no-pub
when:
path:
includes: ['test/**', 'src/**']
notify: notify:
image: git.polynom.me/papatutuwawa/woodpecker-xmpp image: git.polynom.me/papatutuwawa/woodpecker-xmpp

View File

@ -1020,10 +1020,11 @@ packages:
moxxyv2_builders: moxxyv2_builders:
dependency: "direct main" dependency: "direct main"
description: description:
path: "../moxxyv2_builders" name: moxxyv2_builders
relative: true sha256: "8dff8dc0f9febcb235e5391b93c8cfb19cd1f49477af34fce882c384e3130175"
source: path url: "https://git.polynom.me/api/packages/Moxxy/pub/"
version: "0.2.0" source: hosted
version: "0.2.1"
native_imaging: native_imaging:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@ -73,7 +73,7 @@ dependencies:
version: 0.3.2 version: 0.3.2
moxxyv2_builders: moxxyv2_builders:
hosted: https://git.polynom.me/api/packages/Moxxy/pub hosted: https://git.polynom.me/api/packages/Moxxy/pub
version: 0.2.0 version: 0.2.1
native_imaging: 0.1.0 native_imaging: 0.1.0
omemo_dart: omemo_dart:
hosted: https://git.polynom.me/api/packages/PapaTutuWawa/pub hosted: https://git.polynom.me/api/packages/PapaTutuWawa/pub
@ -138,8 +138,8 @@ dependency_overrides:
# moxxy_native: # moxxy_native:
# path: ../moxxy_native # path: ../moxxy_native
moxxyv2_builders: # moxxyv2_builders:
path: ../moxxyv2_builders # path: ../moxxyv2_builders
extra_licenses: extra_licenses:
- name: undraw.co - name: undraw.co

View File

@ -88,7 +88,7 @@ class StubSocketWrapper extends BaseSocketWrapper {
@override @override
Stream<String> getDataStream() { Stream<String> getDataStream() {
return StreamController<String>().stream; return StreamController<String>.broadcast().stream;
} }
@override @override