feat(python-client): add CI (#136)

This commit is contained in:
OlivierDehaene 2023-03-23 18:13:04 +01:00 committed by GitHub
parent 5d04525cb9
commit 23e1028822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/client-tests.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Python Client Tests
on:
pull_request:
paths:
- ".github/workflows/client-tests.yaml"
- "clients/python/**"
jobs:
run_tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install
run: |
cd clients/python && pip install .
- name: Run tests
run: |
pip install pytest pytest-asyncio
cd clients/python && pytest tests