File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Integration Tests
2+
3+ on :
4+ pull_request :
5+ branches : [ develop ]
6+
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+
11+ services :
12+ docker :
13+ image : docker:24.0.6
14+ options : --privileged
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Python
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ' 3.11'
24+
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install pytest requests
29+
30+ - name : Build Docker Compose Containers
31+ run : |
32+ docker compose -f docker-compose-develop.yml build
33+
34+ - name : Spin Up Docker Compose and Run Tests
35+ run : pytest tests/metadata_integration.py -v
36+
37+ - name : Ensure that Docker Compose is Shutdown
38+ if : always()
39+ run : docker compose down
You can’t perform that action at this time.
0 commit comments