-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 1.02 KB
/
python-integration-tests.yml
File metadata and controls
37 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Run Integration Tests
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
jobs:
integration_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker compose -f ./src/accounts/docker-compose.dev.yaml up --build --wait --wait-timeout 300 -d
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install python dependencies
run: |
cd /home/runner/work/Concierge/Concierge/src/accounts/
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
- name: Test account integration tests
run: |
cd /home/runner/work/Concierge/Concierge/src/accounts/
python3 -m integration_tests