Skip to content

docs: add doc for constants #319

docs: add doc for constants

docs: add doc for constants #319

Workflow file for this run

name: Linters and tests
on:
push:
paths:
- mahjong/**
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.10"
- name: Install libs
run: uv sync --no-group dev --group lint
- name: Lint files
run: make lint
typecheck:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.10"
- name: Install libs
run: uv sync --no-group dev --group typing
- name: Check files
run: make type
tests:
needs: [lint, typecheck]
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10", "pypy3.11"]
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Test with python ${{ matrix.python-version }}
run: make tests