Skip to content

chore: add some basic tests for Python #2

chore: add some basic tests for Python

chore: add some basic tests for Python #2

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.7, 3.8, 3.9, "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/gritql
run: |
uv pip install -r pyproject.toml
- name: Run tests
working-directory: python/gritql
run: |
uv pip run pytest