Skip to content

Remove files used for running tests#12

Merged
sbillinge merged 4 commits into
diffpy:cookiefrom
bobleesj:cookierelease-typo
Aug 13, 2024
Merged

Remove files used for running tests#12
sbillinge merged 4 commits into
diffpy:cookiefrom
bobleesj:cookierelease-typo

Conversation

@bobleesj

Copy link
Copy Markdown
Contributor

Same as the title:

Addressing #10 (review)

@bobleesj bobleesj marked this pull request as ready for review August 12, 2024 12:47
Comment thread src/diffpy/nmf_mapping/tests/run.py Outdated
##############################################################################
"""Convenience module for executing all unit tests with
python -m \.tests.run
python -m diffpy.nmf_mapping.tests.run

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

flake8 passes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is the wrong syntax here as we are moving over to using pytest to run tests. Please look in cookicutter or one of the other projects

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we just delete this run.py? Then in the ci (and when we run it locally) we just run pytest or coverage

@sbillinge sbillinge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pls e comments

Comment thread src/diffpy/nmf_mapping/tests/run.py Outdated
##############################################################################
"""Convenience module for executing all unit tests with
python -m \.tests.run
python -m diffpy.nmf_mapping.tests.run

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is the wrong syntax here as we are moving over to using pytest to run tests. Please look in cookicutter or one of the other projects

@bobleesj

Copy link
Copy Markdown
Contributor Author

@sbillinge Please see diffpy/diffpy.stretched-nmf#72

@sbillinge sbillinge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

pls see inline

Comment thread src/diffpy/nmf_mapping/tests/run.py Outdated
##############################################################################
"""Convenience module for executing all unit tests with
python -m \.tests.run
python -m diffpy.nmf_mapping.tests.run

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we just delete this run.py? Then in the ci (and when we run it locally) we just run pytest or coverage

@bobleesj bobleesj left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Files used for running tests removed.

This will be the last edit in a while.

Now, other diffpy projects will be priotized.

@bobleesj bobleesj changed the title Fix typo in run.py to run flake8 Remove files used for running tests Aug 13, 2024
@sbillinge

Copy link
Copy Markdown
Contributor

@bobleesj this is failing tests. Do you want me to merge it and get tests passing on a separate PR?

@bobleesj

Copy link
Copy Markdown
Contributor Author

@bobleesj this is failing tests. Do you want me to merge it and get tests passing on a separate PR?

Yes, please merge this one.

For diffpy.nmf_mapping, 3 out of 4 tests have not been passing for some reason from the start. Probably we shall look into this later. Made an issue for now.

#14

@sbillinge sbillinge merged commit f9c0e9a into diffpy:cookie Aug 13, 2024
@bobleesj bobleesj deleted the cookierelease-typo branch August 13, 2024 00:46
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