m-cahill
975dda4b56
M03: Test architecture ( #2 )
...
* docs(M03): seed M03 plan and toolcalls
Made-with: Cursor
* ci: add repository guardrail, update CONTRIBUTING workflow
Made-with: Cursor
* M03: Test architecture (smoke/quality/nightly)
- Move tests to test/smoke/, scaffold test/quality and test/nightly
- Add pytest.ini with smoke/quality/nightly markers
- Split CI: run_smoke_tests (PR), run_quality_tests (push main), run_nightly_tests (schedule)
- Remove run_tests.yaml
- Add prevent_upstream_push.sh pre-push hook template
- Update CONTRIBUTING.md with hook install and test tier docs
- Add repo and base-branch guardrails to workflows
Made-with: Cursor
* ci: remove obsolete warns_merge_master workflow (Serena uses main)
Made-with: Cursor
* fix: add base_url to pytest.ini for pytest-base-url plugin
Made-with: Cursor
* docs(M03): ledger, run1, audit, summary
Made-with: Cursor
* docs(M03): ledger commit 4ce5cde9
Made-with: Cursor
2026-03-08 18:39:40 -07:00
Michael Cahill
7484170dda
ci(M02): set coverage baseline 33%, defer 60% to M04
...
Made-with: Cursor
2026-03-08 15:53:22 -07:00
Michael Cahill
fa0575c929
ci(M02): enforce coverage gate on combined pytest+server coverage
...
Made-with: Cursor
2026-03-08 15:48:46 -07:00
Michael Cahill
ac965561fe
M01: add stub repositories for deterministic CI
...
- Create scripts/dev/create_stub_repos.py to satisfy paths.py assertion
and import chain without cloning external repos
- Add Create stub repositories step before Setup environment in run_tests
- Remove Cache repositories step (stubs are deterministic, no network)
Made-with: Cursor
2026-03-07 16:12:00 -08:00
Michael Cahill
696371932a
M01: Add Install runtime dependencies step (torch, clip, requirements)
...
Fixes ModuleNotFoundError: torch when using --skip-prepare-environment.
Repositories still required from cache for paths.py.
Made-with: Cursor
2026-03-07 16:00:06 -08:00
Michael Cahill
31588a1e59
M01: Skip prepare-environment in CI (deterministic bootstrap)
...
- Add --exit handling when --skip-prepare-environment (launch.py)
- Setup: python launch.py --skip-prepare-environment --skip-torch-cuda-test --exit
- Smoke: python launch.py --skip-prepare-environment --skip-torch-cuda-test --test-server --use-cpu all --exit
CI no longer depends on external git clones. Requires repositories cache to be seeded.
Made-with: Cursor
2026-03-07 15:57:52 -08:00
Michael Cahill
f2db027b93
M01: Revert GITHUB_TOKEN (Repository not found). Document run analysis.
...
Made-with: Cursor
2026-03-07 15:42:37 -08:00
Michael Cahill
23575dc7d6
M01: Add GITHUB_TOKEN for repo clones, cache repositories
...
CLIP fix worked. Git clone of Stability-AI fails without auth.
Add token-based URLs for Stability-AI repos.
Made-with: Cursor
2026-03-07 15:40:45 -08:00
Michael Cahill
9ae76265ba
M01: Add --no-build-isolation to clip install in launch_utils
...
Fixes pkg_resources in pip's isolated build env. Build-time fix only.
Made-with: Cursor
2026-03-07 15:38:39 -08:00
Michael Cahill
cb4b152935
M01: Add PIP_NO_BUILD_ISOLATION to fix CLIP pkg_resources in build env
...
Made-with: Cursor
2026-03-07 15:36:51 -08:00
Michael Cahill
9b96c9165c
M01: CI truthfulness, SHA pinning, smoke path
...
- Remove same-repo PR skip condition (CI runs on all PRs)
- Install setuptools before env setup; add --do-not-download-clip
- Add pip-audit (non-blocking) before environment setup
- Add smoke startup step (verify app boots before full tests)
- Add --cov-fail-under=60 coverage threshold
- Pin GitHub Actions to commit SHAs
- Add .gitattributes for CRLF/LF normalization
- Add M01 plan and toolcalls ledger
Made-with: Cursor
2026-03-07 15:35:32 -08:00
AUTOMATIC1111
908d522057
update ruff to 0.3.3
2024-03-17 13:19:44 +03:00
w-e-w
a3a648bf6b
bump action version
2024-03-16 05:57:23 +09:00
Aarni Koskela
48a2a1a437
Don't wait for 10 minutes for test server to come up
2023-12-30 19:44:38 +02:00
Aarni Koskela
b621a63cf6
Unify CodeFormer and GFPGAN restoration backends, use Spandrel for GFPGAN
2023-12-30 16:30:49 +02:00
Aarni Koskela
8fe1e19522
Update ruff to 0.1.6
2023-11-22 18:05:12 +02:00
AUTOMATIC1111
b270ded268
fix the issue with /sdapi/v1/options failing (this time for sure!)
...
fix automated tests downloading CLIP model
2023-07-18 18:10:04 +03:00
w-e-w
2970d712ee
Warns merge into master
2023-07-16 02:29:20 +09:00
AUTOMATIC1111
62e3263467
edit names more
2023-07-14 10:07:08 +03:00
AUTOMATIC1111
714c920c20
do not run workflow items twice for PRs from this repo
...
update names
2023-07-14 09:47:44 +03:00
w-e-w
cc9c171978
rename --add-stop-route to --api-server-stop
2023-06-29 14:21:28 +09:00
AUTOMATIC1111
d4f9250c5a
Merge pull request #11201 from akx/ruff-upg
...
Upgrade Ruff to 0.0.272
2023-06-27 09:19:55 +03:00
w-e-w
6091c4e4aa
terminate -> stop
2023-06-14 19:53:08 +09:00
w-e-w
6387f0e85d
update workflow kill test server
2023-06-14 18:51:54 +09:00
Aarni Koskela
8ce9b36e0f
Upgrade ruff to 272
2023-06-13 13:07:06 +03:00
Aarni Koskela
793a491923
Overhaul tests to use py.test
2023-05-19 17:42:34 +03:00
Aarni Koskela
4f11f285f9
Add ESLint to CI
2023-05-17 16:09:06 +03:00
Aarni Koskela
5b592669f9
CI: use launch.py for dependencies too
2023-05-11 11:57:46 +03:00
Aarni Koskela
c702010e57
CI: use CPU wheel repo for PyTorch
2023-05-11 11:57:46 +03:00
Aarni Koskela
990ca80cb6
Replace pylint CI with ruff
2023-05-09 23:13:47 +03:00
AUTOMATIC
68953a4705
specify the tests dir in automated tests
2023-03-25 16:12:50 +03:00
AUTOMATIC1111
9bec415bab
Merge pull request #6568 from mezotaken/fix-tests
...
Tests fixes and additions
2023-01-09 23:43:11 +03:00
Vladimir Repin
3af488bdff
try all tests
2023-01-09 14:29:28 +03:00
Aarni Koskela
a77873974b
... also for tests.
2023-01-07 11:34:02 +02:00
Aarni Koskela
0fc1848e40
CI: Use native actions/setup-python caching
2023-01-07 11:25:41 +02:00
Vladimir Repin
14dfede8dd
Minor fixes
...
Remove unused test completely
Change job name
Don't use empty.pt as CLIP weights - it wont work.
Use latest version of actions/cache
2022-11-19 14:15:10 +03:00
Vladimir Repin
694611cbd8
Apply suggestions from code review
...
Use last version of setup-python action
Remove unnecesarry multicommand from run
Remove current directory from artifact paths
Co-authored-by: Margen67 <Margen67@users.noreply.github.com>
2022-11-19 00:56:08 +03:00
Vladimir Repin
a071079000
Use empty model as CLIP weights
2022-11-14 19:22:06 +03:00
Vladimir Repin
9e4f68acad
Stop exporting cl args and upload stdout and stderr as artifacts
2022-11-14 18:40:15 +03:00
Vladimir Repin
5808241dd7
Use 80 port on launch
2022-11-14 15:14:52 +03:00
Vladimir Repin
3ffc1c6cee
skip cuda test
2022-11-14 13:45:21 +03:00
Vladimir Repin
93d6c0209a
Tests separated for github-actions CI
2022-11-14 13:39:22 +03:00
DancingSnow
8aaadf56b3
add cache for workflow
2022-10-17 07:57:17 +03:00
Robert Smieja
d3ffc962dd
Add basic Pylint to catch syntax errors on PRs
2022-10-15 16:26:07 +03:00