Skip to content

Add unit tests

Add unit tests #66

Workflow file for this run

name: Debian package
#
# Description
#
on:
workflow_dispatch:
push:
branches:
- main
jobs:
Debian:
uses: armbian/scripts/.github/workflows/pack-debian.yml@master
with:
matrix: "all:jammy"
maintainer: "Igor Pecovnik <igor@armbian.com>"
package: "armbian-configng"
licence: "GPL 2.0"
homepage: "https://www.armbian.com"
section: "default"
priority: "optional"
depends: "bash, jq, whiptail, sudo, procps, systemd, lsb-release, iproute2"
description: "Configng"
secrets:
GPG_PRIVATE_KEY: ${{ secrets.GPG_KEY1 }}
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE1 }}
Tests:
name: "Execute unit tests"
if: ${{ github.repository_owner == 'Armbian' }}
needs: Debian
runs-on: ubuntu-latest
steps:
- name: "Run unit tests action"
uses: peter-evans/repository-dispatch@v3
with:
event-type: "Unit tests"