Ankush Menat
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
14 additions and
7 deletions
-
.github/helper/install.sh
-
.github/workflows/patch.yml
-
.github/workflows/server-tests.yml
|
@ -4,11 +4,7 @@ set -e |
|
|
|
|
|
|
|
|
cd ~ || exit |
|
|
cd ~ || exit |
|
|
|
|
|
|
|
|
sudo apt-get install redis-server |
|
|
sudo apt-get install redis-server libcups2-dev |
|
|
|
|
|
|
|
|
sudo apt install nodejs |
|
|
|
|
|
|
|
|
|
|
|
sudo apt install npm |
|
|
|
|
|
|
|
|
|
|
|
pip install frappe-bench |
|
|
pip install frappe-bench |
|
|
|
|
|
|
|
@ -32,7 +28,6 @@ wget -O /tmp/wkhtmltox.tar.xz https://github.com/frappe/wkhtmltopdf/raw/master/w |
|
|
tar -xf /tmp/wkhtmltox.tar.xz -C /tmp |
|
|
tar -xf /tmp/wkhtmltox.tar.xz -C /tmp |
|
|
sudo mv /tmp/wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf |
|
|
sudo mv /tmp/wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf |
|
|
sudo chmod o+x /usr/local/bin/wkhtmltopdf |
|
|
sudo chmod o+x /usr/local/bin/wkhtmltopdf |
|
|
sudo apt-get install libcups2-dev |
|
|
|
|
|
|
|
|
|
|
|
cd ~/frappe-bench || exit |
|
|
cd ~/frappe-bench || exit |
|
|
|
|
|
|
|
|
|
@ -31,7 +31,13 @@ jobs: |
|
|
- name: Setup Python |
|
|
- name: Setup Python |
|
|
uses: actions/setup-python@v2 |
|
|
uses: actions/setup-python@v2 |
|
|
with: |
|
|
with: |
|
|
python-version: 3.6 |
|
|
python-version: 3.7 |
|
|
|
|
|
|
|
|
|
|
|
- name: Setup Node |
|
|
|
|
|
uses: actions/setup-node@v2 |
|
|
|
|
|
with: |
|
|
|
|
|
node-version: 14 |
|
|
|
|
|
check-latest: true |
|
|
|
|
|
|
|
|
- name: Add to Hosts |
|
|
- name: Add to Hosts |
|
|
run: echo "127.0.0.1 test_site" | sudo tee -a /etc/hosts |
|
|
run: echo "127.0.0.1 test_site" | sudo tee -a /etc/hosts |
|
|
|
@ -43,6 +43,12 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
python-version: 3.7 |
|
|
python-version: 3.7 |
|
|
|
|
|
|
|
|
|
|
|
- name: Setup Node |
|
|
|
|
|
uses: actions/setup-node@v2 |
|
|
|
|
|
with: |
|
|
|
|
|
node-version: 14 |
|
|
|
|
|
check-latest: true |
|
|
|
|
|
|
|
|
- name: Add to Hosts |
|
|
- name: Add to Hosts |
|
|
run: echo "127.0.0.1 test_site" | sudo tee -a /etc/hosts |
|
|
run: echo "127.0.0.1 test_site" | sudo tee -a /etc/hosts |
|
|
|
|
|
|
|
|