CI: add minimal CLI test

Just create a repository and run a minimal backup.
This commit is contained in:
Michael Eischer 2023-07-09 14:29:43 +02:00
parent 89fbd39e59
commit c158741e2e
1 changed files with 8 additions and 0 deletions

View File

@ -141,6 +141,14 @@ jobs:
run: |
go run build.go
- name: Minimal test
run: |
./restic init
./restic backup .
env:
RESTIC_REPOSITORY: ../testrepo
RESTIC_PASSWORD: password
- name: Run local Tests
env:
RESTIC_TEST_FUSE: ${{ matrix.test_fuse }}