forked from TrueCloudLab/restic
CI: add minimal CLI test
Just create a repository and run a minimal backup.
This commit is contained in:
parent
89fbd39e59
commit
c158741e2e
1 changed files with 8 additions and 0 deletions
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 a new issue