ci: Add GitHub Actions workflow for running tests

This commit is contained in:
Andreas Koepf (aider) 2025-01-31 00:10:12 +01:00
parent 3e01b7dccf
commit 0f362920d5
2 changed files with 42 additions and 0 deletions

View file

@ -18,6 +18,18 @@ dependencies = [
"magiccube==0.3.0",
"pyfiglet==1.0.2"
]
[project.optional-dependencies]
test = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
]
[tool.pytest.ini_options]
addopts = "-ra -q --cov=reasoning_gym"
testpaths = [
"tests",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",