Skip to content

Commit

Permalink
Update CI, test Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ajcr committed Nov 2, 2023
1 parent 98db31e commit 3a29db0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand All @@ -29,9 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r dev_requirements.txt
python -m pip install -r requirements.txt
python -m pip install .
python -m pip install .[dev]
- name: Check with ruff
run: ruff check .
- name: Check types
Expand Down
27 changes: 14 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@ build-backend = "setuptools.build_meta"
[project]
name = "urn-calculator"
version = "0.0.1"
description = "Multivariate hypergeometric command line calculator"
description = "Multivariate hypergeometric command line calculator."
readme = "README.md"
authors = [{ name = "Alex Riley" }]
license = { file = "LICENSE" }
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Utilities",
"Typing :: Typed",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Utilities",
"Typing :: Typed",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["calculator", "probability", "count", "draw", "random", "sample", "hypergeometric"]
dependencies = [
"lark >= 1.1.5",
Expand All @@ -30,7 +31,7 @@ dependencies = [
requires-python = ">=3.10"

[project.optional-dependencies]
dev = ["pytest"]
dev = ["pytest", "ruff"]

[project.urls]
Homepage = "https://github.com/ajcr/urn"
Expand Down

0 comments on commit 3a29db0

Please sign in to comment.