This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
Unit testings #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |