[License & Tests]: Updating the license to Apache-2 and reworking the tests slightly#136
Merged
Conversation
…oved testing and coverage reporting - Revised `DEVELOPMENT.md` to clarify test commands and best practices, replacing `pytest` with `python -m pytest` for consistency. - Updated `Makefile` to remove the `test-fast` target and ensure `make audit` runs all tests. - Modified GitHub Actions workflows to enhance test coverage reporting and rename the fast test job to a more general test job. - Removed the obsolete `full-tests.yml` workflow and streamlined coverage badge generation. - Adjusted `pytest.ini` and `tests/README.md` to better describe test markers and their usage in CI. - Improved assertions in `test_3d_constitutive_sampling.py` for better numerical stability checks.
…cense consistency - Replaced the existing copyright notice in LICENSE with the Apache License 2.0 text. - Updated README.md to reflect the new Apache-2.0 license. - Added the Apache Software License classifier to pyproject.toml for proper license identification.
- Introduced guidelines for refactoring to enhance repository clarity and maintainability. - Established hard constraints and definitions of done to ensure consistent code quality and behavior preservation. - Included specific considerations for JAX code to prevent common pitfalls during refactoring.
- Introduced `coverage.xml` to store code coverage results. - Refactored several functions in `mode.py`, `compiled.py`, `core.py`, and `ops.py` for better readability by consolidating lines and improving formatting. - Updated test files to ensure consistency and clarity in assertions and test conditions.
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.
No description provided.