Skip to content

Add a nox test session - #878

Open
goelakash wants to merge 1 commit into
openego:devfrom
goelakash:features/#877-test-setup
Open

Add a nox test session#878
goelakash wants to merge 1 commit into
openego:devfrom
goelakash:features/#877-test-setup

Conversation

@goelakash

@goelakash goelakash commented Sep 10, 2026

Copy link
Copy Markdown

Adds a test extra with pytest, a nox test session covering the same Python versions as the existing build and install sessions, and a CI step that runs it. The one test just checks the package imports, so there's a harness in place to add real tests to.

To check it: nox -s test-3.10. That builds a fresh venv, installs -e .[test] and runs pytest. Nothing under etrago/ is touched.

Part of #877.

Adds a pytest extra, a nox test session covering the same Python versions as
the existing build and install sessions, a CI step that runs it, and one test
that checks the package imports.
@goelakash
goelakash force-pushed the features/#877-test-setup branch from 89cd6b7 to 701c330 Compare September 10, 2026 07:31
@goelakash goelakash changed the title Add a nox test session and a first test module Add a nox test session Sep 10, 2026
@goelakash
goelakash marked this pull request as ready for review September 10, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant