Skip to content

Commit 946d75c

Browse files
committed
do all test builds with the test profile so we stop recompiling so much
1 parent 397f6f5 commit 946d75c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci_test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ jobs:
139139
mkdir .\data\test\runs
140140
141141
- name: Build oxen rust project
142-
run: |
143-
cargo build --workspace
142+
run: cargo build --workspace --profile test # use test profile so we don't have to rebuild later
144143

145144
- name: Setup oxen-server user (Linux/macOS)
146145
if: matrix.platform != 'windows'
@@ -206,7 +205,7 @@ jobs:
206205
207206
uv sync --no-install-project
208207
source .venv/bin/activate
209-
maturin develop
208+
maturin develop --profile test
210209
pytest -s tests
211210
212211
- name: Run oxen-python tests (Windows)
@@ -219,5 +218,5 @@ jobs:
219218
uv sync --no-install-project
220219
dir .venv
221220
.venv\Scripts\Activate.ps1
222-
maturin develop
221+
maturin develop --profile test
223222
pytest -s tests --ignore=tests/test_data_frame.py --ignore=tests/test_embeddings.py --ignore=tests/test_fsspec_backend.py

0 commit comments

Comments
 (0)