Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pyddg pyddg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 190
    • Issues 190
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pyddg
  • pyddgpyddg
  • Merge requests
  • !580

Draft: Build, install and test the project with Nox

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Le Nam Do requested to merge nox into develop Aug 31, 2023
  • Overview 2
  • Commits 3
  • Pipelines 10
  • Changes 119

This MR improves on !545 (merged) and also renders it redundant. Since !545 (merged) has already been reviewed though and this MR has significant changes, it probably makes sense to keep !545 (merged) open though.

Nox is a tool to create virtual environments and run commands within them. The intended usage is usually to run

nox --session tests

which will

  • create a virtual environment
  • build and install the package
  • test the package/make a coverage report/etc.

but one can also run arbitrary commands. One doesn't have to create a virtual environment either, so Nox is a strict superset of test.py, which has been removed. Reviewers are encouraged to build the docs and consult the "Running tests" section in the developers' guide. You'll also have to run

poetry install --with dev,docs,tests,coverage,style,codequality,nox
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: nox