26 lines
543 B
YAML
26 lines
543 B
YAML
|
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
|