Skip to content

Commit 0a7c6d6

Browse files
committed
ci: Activate venv before running make targets
1 parent b9ba2b9 commit 0a7c6d6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
-w "$PWD" \
3636
-v /var/run/docker.sock:/var/run/docker.sock \
3737
-e SCOOT_CI \
38-
-e SCOOT_WAIT_TIMEOUT \
3938
ghcr.io/svjson/scoot-ci:latest \
4039
bash -lc "make dev-setup && make test-core"
4140
@@ -80,7 +79,9 @@ jobs:
8079
-e SCOOT_WAIT_TIMEOUT \
8180
--network=host \
8281
ghcr.io/svjson/scoot-ci:latest \
83-
bash -lc "make dev-setup && BACKEND=${{ matrix.backend }} make test-backend"
82+
bash -lc "make dev-setup && \
83+
source .venv/bin/activate && \
84+
BACKEND=${{ matrix.backend }} make test-backend"
8485
8586
8687
# Big monolithic run (leak detector)
@@ -102,5 +103,8 @@ jobs:
102103
-v /var/run/docker.sock:/var/run/docker.sock \
103104
-e SCOOT_CI \
104105
-e SCOOT_WAIT_TIMEOUT \
106+
--network=host \
105107
ghcr.io/svjson/scoot-ci:latest \
106-
bash -lc "make dev-setup && make test"
108+
bash -lc "make dev-setup && \
109+
source .venv/bin/activate && \
110+
make test"

0 commit comments

Comments
 (0)