WIP: (not a real PR): Run testcontainers in Forgejo Actions #5

Closed
potyarkin wants to merge 9 commits from potyarkin/restic:support/add_forgejo_ci into tcl/master
Showing only changes of commit 7a42bb77d2 - Show all commits

View file

@ -26,7 +26,7 @@ jobs:
tests:
name: Tests
runs-on: ubuntu-latest
runs-on: oci-runner
strategy:
matrix:
go_versions: [ '1.22', '1.23' ]
@ -42,8 +42,7 @@ jobs:
- name: Tests for the FrostFS backend
env:
RESTIC_TEST_FUSE: false
TESTCONTAINERS_RYUK_CONTAINER_PRIVILEGED: true
TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE: /var/run/docker.sock
TESTCONTAINERS_RYUK_DISABLED: true
# run only tests for the FrostFS backend
run: go test -v github.com/restic/restic/internal/backend/frostfs