Commit 6473d66
committed
ci: parallelise secret CI, cache HF dataset, speed up docker build (The-OpenROAD-Project#291)
- Split monolithic build-backend-docker job into lint-backend,
lint-frontend, lint-evaluation (ubuntu-latest), test, and
docker-eval jobs; lint jobs run free runners in parallel
- Remove redundant HF source_list.json download from test step
- Add docker-compose.ci.yml override: skips HF clone via
SKIP_HF_DOWNLOAD build arg, bind-mounts pre-downloaded ./data,
reduces healthcheck start_period from 1200s to 300s
- Add docker-up-ci / docker-down-ci Makefile targets using the
CI compose override
- Use pytest -n auto in make test to parallelise 349 tests via
already-installed pytest-xdist
- Add SKIP_HF_DOWNLOAD ARG to backend/Dockerfile so production
builds still clone the dataset; CI skips it and mounts instead
- Change uv sync --dev to uv sync in Dockerfile to omit dev
tools from the production image
Signed-off-by: Jack Luar <jluar@precisioninno.com>1 parent 8d739f9 commit 6473d66
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
| |||
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
| 130 | + | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
| |||
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
| 143 | + | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments