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:
parent
89fbd39e59
commit
c158741e2e
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user