Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/integration_test/desktop_package_smoke.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ Future<void> main() async {
);
await waitForContent(tester, controller);
final first = controller.snapshot.locator!.toJson();
expect(find.byTooltip('Next'), findsNothing);
await tester.tapAt(tester.getRect(find.byKey(const ValueKey('reader-content'))).center);
await tester.pump(const Duration(milliseconds: 350));
expect(find.byTooltip('Next'), findsOneWidget);
await tester.tap(find.byTooltip('Next'));
await waitForContent(tester, controller);
expect(controller.snapshot.locator!.toJson(), isNot(first), reason: '${fixture.key} must advance');
Expand Down
2 changes: 1 addition & 1 deletion app/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: papyrus
description: "Digital library management application."
publish_to: 'none'
version: 0.1.0+5
version: 0.2.0+6

environment:
sdk: ^3.9.2
Expand Down
10 changes: 8 additions & 2 deletions tools/install_linux_build_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail

sudo apt-get update
sudo apt-get install -y \
if [[ "${GITHUB_ACTIONS:-}" == 'true' && -f /etc/apt/apt-mirrors.txt ]]; then
# The hosted runner's Azure mirror can stall before falling back to Ubuntu.
printf '%s\n' 'https://archive.ubuntu.com/ubuntu' | sudo tee /etc/apt/apt-mirrors.txt >/dev/null
fi

apt_options=(-o Acquire::Retries=2 -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30)
sudo apt-get "${apt_options[@]}" update
sudo apt-get "${apt_options[@]}" install -y \
clang cmake ninja-build pkg-config \
libgtk-3-dev libwebkit2gtk-4.1-dev libsecret-1-dev \
liblzma-dev libstdc++-12-dev \
Expand Down
Loading