Skip to content

run python tests in CI#489

Merged
NSoiffer merged 3 commits intodaisy:mainfrom
moritz-gross:run-python-tests-in-CI
Feb 16, 2026
Merged

run python tests in CI#489
NSoiffer merged 3 commits intodaisy:mainfrom
moritz-gross:run-python-tests-in-CI

Conversation

@moritz-gross
Copy link
Contributor

@moritz-gross moritz-gross commented Feb 16, 2026

the file python.yml is analogous to rust.yml.

I also tried running the tests on my Windows PC and encountered 2 problems:

  • format of paths to Rules-files was OS-dependent. Now they are type pathlib.Path instead of str.
  • tests for terminal output were hardcoded for the console width of my macbook. I added a pytest-fixture for this. I haven't tested CLI output ever before, so likely there's a less clunky way to do this.

@NSoiffer
Copy link
Collaborator

It's a good idea to have tests that run automatically.

@NSoiffer NSoiffer merged commit f2f769c into daisy:main Feb 16, 2026
5 checks 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.

2 participants