Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests cleanup #245

Merged
merged 12 commits into from
Apr 6, 2022
Merged

Unit tests cleanup #245

merged 12 commits into from
Apr 6, 2022

Conversation

gipert
Copy link
Member

@gipert gipert commented Mar 29, 2022

Reorganizing and fixing the existing tests. Merge after #244 (if tests are passing!)

Reference issue: #241

@gipert gipert added the tests Testing the package label Mar 29, 2022
@gipert gipert requested a review from jasondet March 29, 2022 08:45
@gipert gipert self-assigned this Mar 29, 2022
@gipert
Copy link
Member Author

gipert commented Mar 29, 2022

Tests are failing because of the missing __init__.py, they should be fixed after #244 is merged.

@gipert
Copy link
Member Author

gipert commented Mar 30, 2022

Uhm I don't really expect these failures (also why not in the container?). @jasondet do you understand more than I do?

@gipert
Copy link
Member Author

gipert commented Mar 30, 2022

Got it, now tests are finally passing. There are some warnings though:

https://github.com/legend-exp/pygama/runs/5758376762?check_suite_focus=true#step:5:18

I think we should be more strict and make tests fail even on warnings. I will add this and fix them.

with a pytest.ini file. Will switch to using .pyproject.toml in the
future.
@gipert
Copy link
Member Author

gipert commented Apr 1, 2022

Container builds will be fixed once we patch the Ubuntu container: legend-exp/legendexp_legend-base_img#5

I will configure the GitHub actions to stop testing on the CentOS container.

Container size seems to exceed GitHub runners available storage. Will
think about a solution.
@gipert
Copy link
Member Author

gipert commented Apr 6, 2022

The LEGEND container is now too big to be downloaded on GitHub Actions runners: https://github.com/legend-exp/pygama/runs/5858421030?check_suite_focus=true#step:2:237

I will temporarily disable testing in containers until we find a solution. I'll go ahead and merge this PR.

@gipert gipert merged commit accd79e into legend-exp:refactor Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Testing the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant