Skip to content

Commit

Permalink
Update installer_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theource authored Jul 2, 2022
1 parent 25de4bc commit af6dcdf
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions .github/workflows/installer_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: "Test installers"
name: "Test Debian installer"

# Controls when the action will run.
on:
Expand Down Expand Up @@ -51,40 +51,3 @@ jobs:
run: HandBrakeCLI --version || exit 1
- name: Test abcde
run: abcde -v || exit 1

test-ubuntu:
name: "Test Ubuntu install"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python
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
echo "GITHUB_ACTIONS=True" >> $GITHUB_ENV
pip3 install --ignore-installed --prefer-binary -r requirements.txt
pip3 install flask-bcrypt flask-bcrypt flask_bcrypt --user
- name: Run Installer
run: |
chmod +x scripts/installers/ubuntu-20.04-install.sh
sudo ./scripts/installers/ubuntu-20.04-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
- name: Test MakeMKV
run: makemkvcon | grep www.makemkv.com/developers || exit 1
- name: Test HandBrake
run: HandBrakeCLI --version || exit 1
- name: Test abcde
run: abcde -v || exit 1

0 comments on commit af6dcdf

Please sign in to comment.