Skip to content

Fix release.yml: clean dist/ before build, narrow twine check glob #85

Fix release.yml: clean dist/ before build, narrow twine check glob

Fix release.yml: clean dist/ before build, narrow twine check glob #85

Workflow file for this run

name: Tinta Python CI tests
on:
push:
branches:
- main
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -e .
- name: Test with pytest
run: pytest -xv -s