Skip to content

Commit ce4819d

Browse files
Run detatched
1 parent f43100a commit ce4819d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ jobs:
1818
- name: Check code formatting with Black
1919
run: docker-compose run app black --check .
2020

21-
- name: Check permissions
22-
run: ls -l ./tests/integration/setup/
21+
- name: Checkout code
22+
uses: actions/checkout@v2
2323

24-
- name: Run PyTest
25-
run: docker-compose up
24+
- name: Start Docker Compose Services
25+
run: docker-compose up -d
26+
27+
- name: Run Pytest
28+
run: docker-compose run --rm app python -m pytest
29+
30+
- name: Stop and Remove Containers
31+
run: docker-compose down

docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ services:
66
depends_on:
77
postgres_db:
88
condition: service_started
9+
mssql_db:
10+
condition: service_started
911
environment:
1012
- RUNNING_IN_DOCKER=true
1113
networks:

0 commit comments

Comments
 (0)