Skip to content

Commit

Permalink
Create installer_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theource authored Jul 2, 2022
1 parent d33a6c6 commit 62dffe8
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/installer_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This is a basic workflow to help you get started with Actions

name: "Test debian installer"

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the v2.5.0_dev branch
push:
branches: [ main, v2_devel, v2_master ]
pull_request:
branches: [ main, v2_devel, v2_master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
test-debian:
name: "Test Debian install"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.6"
- name: Fix dependencies
run: |
sudo apt update && sudo apt-get install libgnutls28-dev libcurl4-openssl-dev libssl-dev libdiscid-dev
- name: Run Installer
run: |
chmod +x scripts/installers/debian-install.sh
sudo ./scripts/installers/debian-install.sh
- name: Fix config files
run: |
cp setup/arm.yaml arm.yaml
sudo mkdir -p /etc/arm/config/
sudo cp setup/arm.yaml /etc/arm/config/arm.yaml
sudo cp setup/apprise.yaml /etc/arm/config/apprise.yaml
sudo cp setup/.abcde.conf /etc/arm/config/abcde.conf
- name: Run A.R.M ui
run: timeout 1 python ./arm/runui.py || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi

0 comments on commit 62dffe8

Please sign in to comment.