Skip to content

ci: add workflow to publish on pypi (#16) #52

ci: add workflow to publish on pypi (#16)

ci: add workflow to publish on pypi (#16) #52

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
ci:
if: ${{ github.repository == 'tudelft3d/ahn_cli' }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --dev
- name: Linting
run: make lint
- name: Typos checking
run: make typos
- name: Format checking
run: make format-check
- name: Testing
run: make test