Skip to content

πŸ“ Remove fake documentation link #3

πŸ“ Remove fake documentation link

πŸ“ Remove fake documentation link #3

# GitHub CI build pipeline
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: πŸ“¦ Nested Dict Tools CI build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest, windows-latest, macos-latest"] # [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.12", "3.13"] # ["3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Install uv with caching
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }} 🐍
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# cache: "pip" # caching pip dependencies
# cache-dependency-path: |
# **/requirements/base.txt
# **/requirements/dev.txt
- name: Install the project πŸ“₯
run: uv sync --all-extras --dev
- name: Lint with ruff @chartboost 🧹
uses: chartboost/ruff-action@v1
continue-on-error: true
- name: Install pytest-action dependencies πŸ“₯
run: |
uv pip install pytest-md, pytest-emoji
- name: Run pytest @pavelzw πŸ§ͺ
uses: pavelzw/pytest-action@v2
with:
custom-arguments: "tests -rA --doctest-modules --cov=."
continue-on-error: true
- name: Upload coverage to Codecov πŸ“Š
uses: codecov/codecov-action@v4
with:
# file: .coverage
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Pylance type checking @jakebailey βœ…
uses: jakebailey/pyright-action@v2
with:
pylance-version: latest-release
stats: true
# verbose: true
continue-on-error: true
# - name: Install public interface package πŸ“₯
# run: |
# python -m pip install .
- name: Verify public API types with Pylance @jakebailey βœ…
uses: jakebailey/pyright-action@v2
with:
pylance-version: latest-release
verify-types: nested_dict_tools
# verbose: true
continue-on-error: true