test: added install_dependencies and install script

This commit is contained in:
Jannat Patel
2023-04-03 15:44:21 +05:30
parent 92a8ce6ef4
commit 41599348c4
2 changed files with 64 additions and 0 deletions

13
.github/helper/install_dependencies.sh vendored Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
echo "Setting Up System Dependencies..."
sudo apt update
sudo apt install libcups2-dev redis-server mariadb-client-10.6
install_wkhtmltopdf() {
wget -q https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb
sudo apt install ./wkhtmltox_0.12.6-1.focal_amd64.deb
}
install_wkhtmltopdf &