remove internal logpdf logcdf functions #257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
schedule: | |
- cron: '0 0 1 * *' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-2022, macos-13, macos-14] | |
python-version: ["3.10", "3.11", "3.12", "3.13"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install the latest version of uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Install Python ${{ matrix.python-version }} | |
run: uv python install ${{ matrix.python-version }} | |
- name: Setup, Lint, and Test Python (Linux/macOS) | |
if: runner.os != 'Windows' | |
run: | | |
uvx [email protected] check | |
uvx ruff@latest check || echo "Ignoring warnings from the latest version of ruff" | |
uv sync --all-extras --prerelease allow | |
source .venv/bin/activate | |
cd tests | |
python test.py | |
cd .. | |
uv build | |
- name: Setup, Lint, and Test Python (Windows) | |
if: runner.os == 'Windows' | |
run: | | |
uvx [email protected] check | |
uvx ruff@latest check || echo "Ignoring warnings from the latest version of ruff" | |
uv sync --all-extras --prerelease allow | |
.venv\Scripts\activate | |
cd tests | |
python test.py | |
cd .. | |
uv build | |
- name: Save SDist | |
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: wheels | |
path: dist/*.tar.gz |