CI/CD infrastructure and testing improvements#18
Open
bernalde wants to merge 1 commit intoLyoHUB:mainfrom
Open
CI/CD infrastructure and testing improvements#18bernalde wants to merge 1 commit intoLyoHUB:mainfrom
bernalde wants to merge 1 commit intoLyoHUB:mainfrom
Conversation
CI/CD Workflows: - Update GitHub Actions workflows (tests.yml, pr-tests.yml, slow-tests.yml) with conda environment setup, caching, and parallel test execution Build/Config: - Add pytest.ini with markers, parallel execution, and strict mode - Add requirements.txt and requirements-dev.txt - Add run_local_ci.sh for local CI reproduction - Update .gitignore for coverage artifacts and test data Test Infrastructure: - Update conftest.py with shared fixtures - Add 8 new test modules: test_calculators, test_calc_unknownRp_coverage, test_coverage_gaps, test_opt_Pch_Tsh_coverage, test_opt_Pch_coverage, test_optimizer, test_regression, test_web_interface - Fix existing tests: test_calc_knownRp, test_freezing, test_functions, test_main, test_opt_Pch, test_opt_Pch_Tsh, test_opt_Tsh Source Bugfixes: - Fix mTorr conversion in calc_knownRp.py - Fix fill_output indexing in functions.py - Fix hasattr check in opt_Tsh.py - Clean up comments in constant.py, opt_Pch_Tsh.py Test Data: - Add reference_optimizer.csv for regression testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds CI/CD infrastructure and comprehensive testing to LyoPRONTO. It is a cleaned-up replacement for PR #6, trimmed to only CI/CD, testing, and essential source bugfixes (~30 files instead of ~141).
Changes
CI/CD Workflows (3 modified)
tests.yml,pr-tests.yml,slow-tests.yml) with conda environment setup, caching, and parallel test executionBuild/Config (4 new, 1 modified)
pytest.ini— markers, parallel execution, strict moderequirements.txt/requirements-dev.txt— dependency filesrun_local_ci.sh— local CI reproduction script.gitignore— coverage artifacts and test data exclusionsTest Infrastructure (8 new, 8 modified)
test_calculators,test_calc_unknownRp_coverage,test_coverage_gaps,test_opt_Pch_Tsh_coverage,test_opt_Pch_coverage,test_optimizer,test_regression,test_web_interfaceconftest.pywith shared fixturesSource Bugfixes (5 modified)
calc_knownRp.pyfill_outputindexing infunctions.pyhasattrcheck inopt_Tsh.pyconstant.py,opt_Pch_Tsh.pyTest Data (1 new)
reference_optimizer.csvfor regression testingTest Results
lyoprontoconda environment with Python 3.13Relation to PR #6
This replaces PR #6 which had grown to 141 files including benchmarks, documentation, examples, AI config, and generated artifacts. This PR contains only the CI/CD and testing subset. The excluded content (docs, benchmarks, examples) will be submitted in separate focused PRs.