Skip to content

Commit 77c73ae

Browse files
authored
Merge pull request #41 from europanite/feature/py312
Feature/py312
2 parents a989ccd + a290fde commit 77c73ae

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,14 @@ jobs:
5454
name: coverage-xml
5555
path: service/reports/ci/coverage.xml
5656
if-no-files-found: error
57+
- name: Cleanup
58+
env:
59+
DOCKER_BUILDKIT: 1
60+
HOST_UID: "1000"
61+
HOST_GID: "1000"
62+
DISPLAY: ":1"
63+
HOST_USERNAME: user
64+
HOST_GROUPNAME: group
65+
if: always()
66+
run: |
67+
docker compose down -v --remove-orphans

docker-compose.test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ services:
1818
- ./service/reports:/reports
1919
- ./service/pytest.ini:/app/pytest.ini:ro
2020
- ./service/data:/data
21+
command: ["pytest", "-q"]

service/Dockerfile.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY requirements.txt requirements.test.txt ./
1111
RUN python -m pip install --upgrade pip setuptools wheel
1212
RUN pip install --no-cache-dir -r requirements.txt -r requirements.test.txt
1313

14-
# receive environment values
14+
# set variables
1515
ARG HOST_UID=1000
1616
ARG HOST_GID=1000
1717
ARG HOST_USERNAME=user

0 commit comments

Comments
 (0)