Skip to content

Commit 7400c4b

Browse files
authored
Integration test CI (#18)
* Add github CI action for integration test.
1 parent 6c66ac4 commit 7400c4b

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,10 @@ jobs:
4646
os-variant: ${{ matrix.os }}
4747
python-version: ${{ matrix.python.version }}
4848
tox-env: ${{ matrix.python.tox-env }}
49+
50+
intergration-tests:
51+
name: Integration Tests
52+
needs: tests
53+
uses: ./.github/workflows/integration.yml
54+
with:
55+
python-version: '${{needs.formatting.outputs.min_python}}'

.github/workflows/integration.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Integration test actions
2+
3+
name: Integration
4+
5+
on:
6+
workflow_dispatch:
7+
inputs:
8+
python-version:
9+
type: string
10+
workflow_call:
11+
inputs:
12+
python-version:
13+
type: string
14+
15+
jobs:
16+
tests:
17+
name: Integration Tests
18+
runs-on: 'ubuntu-22.04'
19+
steps:
20+
- run: sudo apt install --yes docker-compose
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-python@v5
23+
with:
24+
python-version: ${{ inputs.python-version }}
25+
- run: python -m pip install --upgrade pip
26+
- run: python -m pip install -r requirements/ci.txt
27+
- run: docker-compose version

0 commit comments

Comments
 (0)