Skip to content

Add github actions workflow - #9

Merged
j-bryan merged 5 commits into
mainfrom
ci-workflow
Jul 21, 2026
Merged

Add github actions workflow#9
j-bryan merged 5 commits into
mainfrom
ci-workflow

Conversation

@caleb-sitton-inl

Copy link
Copy Markdown
Collaborator

This adds a github actions workflow that is triggered by pushes and PRs onto main. The workflow serves as a wrapper around the already-configured pre-commit workflow, which runs the test suite using pytest as well as linting and formatting with ruff, a copyright header check, and some basic built-in helper checks. Two modifications have also been made to the pre-commit config:

  • mypy is now run as part of the precommit hook to catch any typing errors
  • the --check arg has been removed from the ruff format call because it resulted in needing an extra, manual ruff format call before allowing a commit, which was deemed unnecessarily complex

Closes #2.

@caleb-sitton-inl
caleb-sitton-inl requested a review from j-bryan July 21, 2026 17:27

@j-bryan j-bryan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. It'll be nice to finally have automated CI on the project!

@j-bryan
j-bryan merged commit e979a1e into main Jul 21, 2026
1 check passed
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.

Github actions workflow for automated testing

2 participants