Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automation for testing commands on multiple OS #87

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented Sep 20, 2024

Description

This action will execute tests defined in tests/ folder. Tests will be run in Debian Bookworm, Debian Trixie, Ubuntu Jammy and Ubuntu Noble Docker containers in parallel.

Implementation Details

Filename represent armbian-config command ID.

Test config example:

ENABLED=true
RELEASE=noble:bookworm
CONDITION="[ -f /usr/bin/zsh ]"

Test will succeeds if CONDITION return true. If condition is not set, test is successful if it finished the job without errors.

Testing Procedure

  • test routine can be executed manually
  • it will run on push
  • it will run on cron

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have ensured that my changes do not introduce new warnings or errors
  • Changes have been tested and verified
  • I have included necessary metadata in the code, including associative arrays

@igorpecovnik igorpecovnik added the WIP Work in progres label Sep 20, 2024
@igorpecovnik igorpecovnik changed the title Add automation for testing features on multiple OS Add automation for testing commands on multiple OS Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progres
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant