Added unit tests and continous integration
All checks were successful
backup.py / unit-tests (push) Successful in 23s

This commit is contained in:
2026-01-23 11:01:34 +01:00
parent 97e66d5fae
commit 39989feb98
2 changed files with 501 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
name: backup.py
on: [push,pull_request,workflow_dispatch]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: sudo apt update && sudo apt install -y python3 tar gpg
- name: Run unit tests
run: |
python3 test_backup.py backup.py