Skip to content

chore: add some basic tests for Python #4

chore: add some basic tests for Python

chore: add some basic tests for Python #4

Workflow file for this run

name: Python Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: "nscloud-ubuntu-22.04-amd64-4x16"
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
working-directory: python
run: |
uv pip install .
- name: Run tests
working-directory: python
run: |
uv run pytest