fix(ci)_: fix rpc tests file permissions

This commit is contained in:
Anton Iakimov 2024-07-10 11:28:25 +02:00
parent 325429b218
commit 38192e3fb7
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View File

@ -490,7 +490,9 @@ build-verif-proxy-wrapper:
test-verif-proxy-wrapper: test-verif-proxy-wrapper:
CGO_CFLAGS="$(CGO_CFLAGS)" go test -v github.com/status-im/status-go/rpc -tags gowaku_skip_migrations,nimbus_light_client -run ^TestProxySuite$$ -testify.m TestRun -ldflags $(LDFLAGS) CGO_CFLAGS="$(CGO_CFLAGS)" go test -v github.com/status-im/status-go/rpc -tags gowaku_skip_migrations,nimbus_light_client -run ^TestProxySuite$$ -testify.m TestRun -ldflags $(LDFLAGS)
run-integration-tests: SHELL := /bin/sh run-integration-tests: SHELL := /bin/sh
run-integration-tests: export INTEGRATION_TESTS_DOCKER_UID ?= $(shell id -u $$USER)
run-integration-tests: run-integration-tests:
docker-compose -f integration-tests/docker-compose.anvil.yml -f integration-tests/docker-compose.test.status-go.yml up -d --build --remove-orphans; \ docker-compose -f integration-tests/docker-compose.anvil.yml -f integration-tests/docker-compose.test.status-go.yml up -d --build --remove-orphans; \
docker-compose -f integration-tests/docker-compose.anvil.yml -f integration-tests/docker-compose.test.status-go.yml logs -f tests-rpc; \ docker-compose -f integration-tests/docker-compose.anvil.yml -f integration-tests/docker-compose.test.status-go.yml logs -f tests-rpc; \

View File

@ -21,6 +21,7 @@ services:
retries: 120 retries: 120
tests-rpc: tests-rpc:
user: ${INTEGRATION_TESTS_DOCKER_UID}
depends_on: depends_on:
status-go: status-go:
condition: service_healthy condition: service_healthy