2
2
mirror of https://github.com/octoleo/restic.git synced 2024-10-31 19:02:32 +00:00

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

View File

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