You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
now uses the following reusable workflows:
- pre-commit.yml
- py-coverage.yml
## Adjusting Unit tests
- codecov-action v4 now requires a CODECOV token (which I added to repo secrets)
- `test_download_file` was passing unexpectedly (should have expectedly failed for `"latest"` release_tag).
- `test_path_warning` wouldn't pass when run in a venv (which is how I run tests locally).
- `test_get_sha` was using outdated sha512sum for Windows.
- CI now runs unit tests on all 3 OS and the reusable workflow will combine coverage data for the coverage reports.
* update pre-commit hooks; switch to ruff for linting and formatting in a pre-commit hook
* improve test runtime and coverage
- now includes test code in coverage
- does not download every supported version just to trigger lines in coverage data; only 1 version will suffice.
- only download clang-format when testing `install_tool()` because it gets same coverage and downloads faster on all supported platforms.
0 commit comments