Skip to content

Commit 978f727

Browse files
committed
fixup! Print logs in workflow
1 parent 3e9ea0e commit 978f727

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/test2.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Test against dataportal
2-
32
on: [push, pull_request]
3+
env:
4+
COMPOSE_FILE: .github/docker-compose.yml
45

56
jobs:
67
test:
@@ -42,14 +43,14 @@ jobs:
4243
cache-to: type=gha,mode=max
4344

4445
- name: Start supporting services
45-
run: docker compose -f .github/docker-compose.yml up -d --wait dataportal-backend
46+
run: docker compose up -d --wait dataportal-backend
4647

4748
- name: Run tests
48-
run: docker compose -f .github/docker-compose.yml run --rm cloudnet-processing pytest -s -vv tests/integration/test.py
49+
run: docker compose run --rm cloudnet-processing pytest -s -vv tests/integration/test.py
4950

5051
- name: Shutdown all services
5152
if: always()
52-
run: docker compose -f .github/docker-compose.yml down -v
53+
run: docker compose down -v
5354

5455
- name: Print logs
5556
if: always()

0 commit comments

Comments
 (0)