Run the Pages APT fixture without root
Cloudflare Pages / Build and verify the site (push) Successful in 3m34s

This commit is contained in:
waozi committed 2026-11-20 01:35:30 -03:00
1 parent 6b4d1d2c54
commit a73d55f4ca
1 file changed
+6 -1
+6 -1
View File
@@ -64,7 +64,12 @@ jobs:
- name: Test website routes, assets and Telegram bridge
run: |
node tests/site_assets_test.mjs
sh tests/apt_repo_test.sh
# The APT fixture is designed to check package discovery without root.
if [ "$(id -u)" -eq 0 ]; then
runuser -u nobody -- sh tests/apt_repo_test.sh
else
sh tests/apt_repo_test.sh
fi
node tests/telegram_bridge_test.mjs
- name: Deploy current master to Cloudflare Pages