Run the Pages APT fixture without root
Cloudflare Pages / Build and verify the site (push) Successful in 3m34s
Cloudflare Pages / Build and verify the site (push) Successful in 3m34s
This commit is contained in:
1 parent
6b4d1d2c54
commit
a73d55f4ca
1 file changed
+6
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user