Skip to content

Commit 10f8f44

Browse files
authored
fix branch on sandag external test (#978)
* fix branch on sandag external test * locked * group not only-group * test in dir * rootdir for pytest * test pointer * move uv * one layer off
1 parent 758775d commit 10f8f44

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/core_tests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: Install activitysim
4141
run: |
42-
uv sync --locked --only-group github-action
42+
uv sync --locked --group github-action --no-dev
4343
4444
- name: Lint with Black
4545
run: |
@@ -105,7 +105,7 @@ jobs:
105105

106106
- name: Install activitysim
107107
run: |
108-
uv sync --locked --only-group github-action
108+
uv sync --locked --group github-action --no-dev
109109
110110
- name: Lint with Black
111111
run: |
@@ -171,7 +171,7 @@ jobs:
171171

172172
- name: Install activitysim
173173
run: |
174-
uv sync --locked --only-group github-action
174+
uv sync --locked --group github-action --no-dev
175175
176176
# TODO: Cache sharrow compiled flows? The contents of __pycache__ appear to
177177
# be ignored, so this is not working as expected right now
@@ -215,7 +215,7 @@ jobs:
215215
- region: Standard 2-Zone Example (SANDAG)
216216
region-org: ActivitySim
217217
region-repo: sandag-abm3-example
218-
region-branch: pandas2
218+
region-branch: main
219219
fail-fast: false
220220
defaults:
221221
run:
@@ -240,7 +240,7 @@ jobs:
240240

241241
- name: Install activitysim
242242
run: |
243-
uv sync --locked --only-group github-action
243+
uv sync --locked --group github-action --no-dev
244244
245245
- name: Checkout Example
246246
uses: actions/checkout@v4
@@ -251,8 +251,8 @@ jobs:
251251

252252
- name: Test ${{ matrix.region }}
253253
run: |
254-
cd ${{ matrix.region-repo }}/test
255-
uv run pytest .
254+
cd ${{ matrix.region-repo }}
255+
uv run --project .. --locked --group github-action --no-dev pytest ./test
256256
257257
random_seed_generation:
258258
needs: foundation
@@ -282,7 +282,7 @@ jobs:
282282

283283
- name: Install activitysim
284284
run: |
285-
uv sync --locked --only-group github-action
285+
uv sync --locked --group github-action --no-dev
286286
287287
- name: Test Random Seed Generation
288288
run: |
@@ -315,7 +315,7 @@ jobs:
315315

316316
- name: Install activitysim
317317
run: |
318-
uv sync --locked --only-group github-action
318+
uv sync --locked --group github-action --no-dev
319319
320320
- name: Test Estimation Mode
321321
run: |
@@ -348,7 +348,7 @@ jobs:
348348

349349
- name: Install activitysim
350350
run: |
351-
uv sync --locked --only-group github-action
351+
uv sync --locked --group github-action --no-dev
352352
353353
- name: Test Expression Profiling
354354
run: |
@@ -380,7 +380,7 @@ jobs:
380380
python-version-file: ".python-version"
381381
- name: Install activitysim
382382
run: |
383-
uv sync --locked --only-group github-action
383+
uv sync --locked --group github-action --no-dev
384384
- name: localize version switcher
385385
run: |
386386
python .github/workflows/localize-base-urls.py docs/_static/switcher.json

0 commit comments

Comments
 (0)