Commit graph

59 commits

Author SHA1 Message Date
ash
1c306c07b3 Don't use example.org in tests
Some checks failed
Build bootstrap packages and push to cachix / cachix (push) Has been cancelled
Build and deploy docs / deploy (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-droidctl (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-n-o-d (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-avd (29) (push) Has been cancelled
Run lints / lint (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, android_integration) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_channels) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_flakes) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, poke_around) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_shell) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_uiautomator) (push) Has been cancelled
The text at example.org was recently changed, which breaks the emulator
tests. There is now a request there to "Avoid use in operations", so
using something else in the tests seems like the friendly thing to do.
2025-10-18 09:48:09 +02:00
Shelvacu
27696cac81 Add tests for _class="nixOnDroid"
Some checks failed
Build bootstrap packages and push to cachix / cachix (push) Has been cancelled
Build and deploy docs / deploy (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-droidctl (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-n-o-d (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-avd (29) (push) Has been cancelled
Run lints / lint (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, android_integration) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_channels) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_flakes) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, poke_around) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_shell) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_uiautomator) (push) Has been cancelled
2025-07-21 14:28:15 +02:00
hkalbasi
5d88ff2519 tests/emulator/poke_around: test setting user.shell 2024-09-06 23:36:25 +02:00
Alexander Sosedkin
25f49c76c4 tests/emulator/test_channels_shell: set empty PATH to match device env 2024-07-10 13:55:08 +02:00
Alexander Sosedkin
fdcdea8a45 WIP: tests/emulator: avoid "ADD TO DICTIONARY" by sleeping 2024-07-08 01:14:54 +02:00
Alexander Sosedkin
bab7c453f4 login-inner: get rid of gnused in flake bootstrap 2024-07-08 01:14:32 +02:00
Sergey Volkov
4d20bfc846 update inputs and copyrights to 24.05
Co-authored-by: Alexander Sosedkin <monk@unboiled.info>
2024-07-08 01:14:32 +02:00
Alexander Sosedkin
e0216d3e47 modules/android-integration: termux-reload-settings 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
438cf8c620 modules/android-integration: termux-wake-lock and termux-wake-unlock 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
b195fa0b15 modules/android-integration: termux-open, termux-open-url, xdg-open 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
733a9fe55c modules/android_integration: termux-setup-storage & unsupported 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
c4c4f09e3d modules/android-integration: add am command 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
b7e7cd423d tests/emulator: better filenames 2024-07-07 21:14:53 +02:00
Alexander Sosedkin
faaacc18a5 tests/emulator/bootstrap-*: work around ADD TO DICTIONARY 2024-07-07 21:14:53 +02:00
Alexander Sosedkin
3f744f2475 tests/emulator/on_device_tests: lower timeout 2024-07-07 21:14:53 +02:00
Alexander Sosedkin
45fcd2da39 modules, ...: get rid of config.build.arch 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
54a535b91b flake.nix: make users pass pkgs explicitly 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
3d24441837 .github/workflows: revamp for extra parallelism 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
291970c4c4 tests/emulator, .github/workflows/emulator: add 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
d72ab2a167 add x86_64 arch 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
463e0f82a6 tests/on-device: test vim, not vi (android can have vi) 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
5c87fc7357 nix-on-droid, tests: use /data/local/tmp/n-o-d 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
6ef3f8ff07 remove fakedroid 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
6daee58791 update nixpkgs; applyPatches to fix toolchain (nixpkgs!269077) 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
be783dd251 set stable version to 23.11 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
78349e4a81 nix-on-droid: allow passing args to on-device-test 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
b237029736 tests/on-device/config-term-colors: add 2024-02-17 12:02:27 +01:00
Alexander Sosedkin
82b4cd68fc nix-on-droid.nix.default: switch to nix-community/home-manager 2024-02-14 22:03:24 +01:00
Evgeny Kurnevsky
b324ef2824 modules/environment/networking: implement /etc/hosts options 2023-07-27 16:31:21 +02:00
Alexander Sosedkin
c367bba341 tests/fakedroid: update qemu to 7.2.0 2023-06-30 18:57:34 +02:00
Alexander Sosedkin
f636824b08 set stable version to 23.05 2023-06-30 18:57:34 +02:00
Tobias Happ
ef3ae133e5 tests: update qemu to 7.1.0 2022-12-04 17:04:17 +01:00
Tobias Happ
c70a1d9745 set stable version to 22.11 2022-12-04 17:04:17 +01:00
Tobias Happ
ae0569fb92 treewide: use consitent casing of Nix-on-Droid/nix-on-droid
Whenever Nix-on-Droid references the project or application it should be
upper-cased.

When nix-on-droid is referencing the CLI-tool or is used as some ID, it
should be lower-cased.
2022-11-20 20:15:31 +01:00
Tobias Happ
6a345626c0 add support for default configuration in flake.nix 2022-11-08 20:29:52 +01:00
Tobias Happ
a99c1e0416 simplify usage of lib.nixOnDroidConfiguration 2022-11-08 20:29:52 +01:00
Alexander Sosedkin
587825a1e4 tests: extend guessing $FLAKE_URL to non-github cases 2022-11-06 21:43:51 +01:00
Tobias Happ
70bc99a562 tests: remove usage of undeclared runtime dependencies 2022-11-06 21:43:51 +01:00
Tobias Happ
c0b87d967f bootstrap: add prompt to bootstrap with flakes setup 2022-10-28 17:52:27 +02:00
Tobias Happ
5900404627 bootstrap: inject nixOnDroidFlakeURL 2022-10-28 17:52:27 +02:00
Tobias Happ
5d9e3c3dd1 tests: refactor to support flake setup 2022-10-28 17:52:27 +02:00
Tobias Happ
7cea00a1c7 tests: increase robustness of fakedroid.sh 2022-10-28 17:52:27 +02:00
Tobias Happ
a5ed8b213f treewide: apply statix fixes 2022-10-04 00:43:13 +02:00
Tobias Happ
7d1ed0fbaa treewide: apply nixpkgs-fmt 2022-10-04 00:43:13 +02:00
Alexander Sosedkin
0ad6321f79 pkgs: use non-prebuilt SDK 2022-07-09 12:25:31 +02:00
Alexander Sosedkin
d1f52f2e1d Update 21.11 references to 22.05 2022-07-01 00:50:28 +02:00
Tobias Happ
4ade388b9a tests: do not create out link from proot build 2021-12-15 22:04:43 +01:00
Tobias Happ
52efd98b5e tests: add cleanup logic for changed nix-channels 2021-12-15 22:04:43 +01:00
Tobias Happ
d8f098c8e5 tests: only expose env variables in setup that are used 2021-12-15 22:04:43 +01:00
Tobias Happ
619e53ac72 tests: simplify clean up logic for ~/.config/nixpkgs 2021-12-15 22:04:43 +01:00