Skip to content

Conversation

@smason
Copy link
Contributor

@smason smason commented Sep 8, 2023

Refactor to use pytest for running tests rather than the set of shell scripts and path hacks that it needed

Previously tests were somewhat hidden in the csg2csg directory (leading to things like #69 (comment)) as well as doing a pip install would cause tests to be installed which doesn't seem useful.

Am testing with Python 3.7 for compatibility, but would prefer to update to something supported.

also refactor so they use the pytest runner

not using many features of pytest yet, but that should come
Use the new fancy ruff tool for linting and get coverage data from
pytest-cov

pretty basic at the moment, automatically formatting code feels a bit
overkill given the number of contributors.
@smason
Copy link
Contributor Author

smason commented Sep 11, 2023

The CI changes included in this are running in my fork and the resulting badge should look like this when merged:

CI

@makeclean makeclean merged commit 448af60 into makeclean:master Sep 11, 2023
@smason smason deleted the move-tests branch September 11, 2023 14:07
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