Skip to content

use uv

use uv #44

Workflow file for this run

name: Tests
on:
push:
pull_request:
types: [ opened, synchronize ]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.10', '3.x' ]
name: pytest ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up CPython ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel pytest pytest-asyncio
pip install -U -r requirements.txt
- name: Run tests
shell: bash
run: |
PYTHONPATH="$(pwd)" pytest