Skip to content

Update docs for the 0.2.0 release #65

Update docs for the 0.2.0 release

Update docs for the 0.2.0 release #65

Workflow file for this run

name: ci
on:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Install uv and set Python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v8.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y xvfb
- name: Install dependencies
run: uv sync --managed-python --locked --group dev
- name: Run tests
run: uv run ./run_tests.sh
- name: Run lint
if: ${{ always() }}
run: |
uv run ruff check pythonhere tests
uv run ruff format --check pythonhere tests
uv run pylint pythonhere
- name: Build package
if: ${{ always() }}
run: uv run python -m build
- name: Check distribution
if: ${{ always() }}
run: uv run twine check dist/*
- name: Upload coverage to Codecov
if: matrix.python-version == '3.10'
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./pythonhere/coverage.xml
flags: unittests