Improve script test

This commit is contained in:
Pau Rodriguez-Estivill
2022-02-26 17:25:21 +01:00
parent bef88186c2
commit 95e93b19fa
+3
View File
@@ -45,8 +45,11 @@ jobs:
BACKUP_KEEP_WEEKS: 4
BACKUP_KEEP_MONTHS: 6
run: |
echo "Test backup script..."
mkdir -p "$BACKUP_DIR"
sh -xe backup.sh
echo "Generated backup files:"
ls -laR "$BACKUP_DIR"
test-docker:
if: ${{ github.event_name == 'pull_request' || github.ref != 'refs/heads/main' }}