mirror of
https://github.com/p-e-w/heretic.git
synced 2026-09-20 19:16:03 -07:00
feat: headless operation + end-to-end tests (#392)
* fix: remove notebook input shims Closes #280 * feat: support headless operation (no interactive input) * fix: prevent infinite loops * feat: add end-to-end tests * ci: run tests in CI * ci: fix test output ordering * fix: replace home-cooked `set_seed` function with Transformers builtin * feat: print PyTorch config when running tests * feat: print additional information * experiment: try to standardize test environment * fix: revert environment changes * feat: support multiple valid hashes for each output file * feat: add test output hashes for CI * feat: add test output hashes for CI (alternative environment) * feat: add hashes for Windows (#394) * fix: Hash on windows * trigger ci * fix: prefer .yaml (used widely than .toml for model configs) * use removeprefix * docs: restore commet * use removeprefix again * tests: Add windows hash files for all test models * trigger ci * fix: minor cleanup * clean merge mismatch * remove unnecessary CRLF replace, now that we support more SUMS files * fix: use binary mode for hashes everywhere --------- Co-authored-by: Vinay Umrethe <umrethevinay@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3f68a0d4e5
commit
0146b2760f
@@ -40,6 +40,11 @@ jobs:
|
||||
- name: Check typing
|
||||
run: uv run ty check --output-format=github --error-on-warning .
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
PYTHONUNBUFFERED: "1"
|
||||
run: uv run tests/run_tests.py 2>&1
|
||||
|
||||
- name: Build package
|
||||
run: uv build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user