Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohalt committed Apr 13, 2024
1 parent 38d600f commit 6471e06
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ jobs:
find .
- name: Integration tests
run: |
pytest --version
pytest
pytest -s
debug-release:
name: Create Release
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-compose.yml → docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
container_name: redis

pretix:
build: ./..
build: ./.
container_name: pretix
volumes:
- ./pretix/etc/pretix:/etc/pretix
Expand Down
8 changes: 8 additions & 0 deletions tests/test_pretix-ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@

@pytest.fixture(scope="module")
def start_pretix():
import os

print(os.getcwd())
print(os.system("ls"))
print("start pretix")
subprocess.Popen(["podman-compose", "up"])
print("started pretix")
yield
print("stop pretix")
subprocess.run(["podman-compose", "down"])
print("stopped pretix")


@pytest.fixture(scope="module")
Expand Down

0 comments on commit 6471e06

Please sign in to comment.