Skip to content

Commit

Permalink
Integration test CI (#18)
Browse files Browse the repository at this point in the history
* Add github CI action for integration test.
  • Loading branch information
YooSunYoung authored May 10, 2024
1 parent 6c66ac4 commit 7400c4b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,10 @@ jobs:
os-variant: ${{ matrix.os }}
python-version: ${{ matrix.python.version }}
tox-env: ${{ matrix.python.tox-env }}

intergration-tests:
name: Integration Tests
needs: tests
uses: ./.github/workflows/integration.yml
with:
python-version: '${{needs.formatting.outputs.min_python}}'
27 changes: 27 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Integration test actions

name: Integration

on:
workflow_dispatch:
inputs:
python-version:
type: string
workflow_call:
inputs:
python-version:
type: string

jobs:
tests:
name: Integration Tests
runs-on: 'ubuntu-22.04'
steps:
- run: sudo apt install --yes docker-compose
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements/ci.txt
- run: docker-compose version

0 comments on commit 7400c4b

Please sign in to comment.