Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Unit testings

Unit testings #5

Workflow file for this run

name: Unit testings
on:
workflow_run:
workflows: ["Debian package"]
types:
- completed
jobs:
test:
name: "Testing configurator"
runs-on: ubuntu-latest
steps:
- name: "Add repository"
run: |
sudo wget -qO- https://imola.armbian.com/apt/armbian.key | \
gpg --dearmor | sudo tee /usr/share/keyrings/armbian.gpg > /dev/null
sudo echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/armbian.gpg] \
https://armbian.github.io/configurator stable main" \
| sudo tee /etc/apt/sources.list.d/armbian-development.list > /dev/null
sudo apt update
sudo apt-get -y install configurator
- name: "Run configurator commands"
run: |
echo "Hello world"