Skip to content

[License & Tests]: Updating the license to Apache-2 and reworking the tests slightly#136

Merged
QuentinWach merged 7 commits into
mainfrom
tests
Jun 13, 2026
Merged

[License & Tests]: Updating the license to Apache-2 and reworking the tests slightly#136
QuentinWach merged 7 commits into
mainfrom
tests

Conversation

@QuentinWach

Copy link
Copy Markdown
Collaborator

No description provided.

…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.
@QuentinWach QuentinWach merged commit 5e292d1 into main Jun 13, 2026
1 check passed
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.

1 participant