Skip to content

Commit 171f172

Browse files
authored
update core-tests (#916)
1 parent f2b97f1 commit 171f172

File tree

1 file changed

+25
-39
lines changed

1 file changed

+25
-39
lines changed

.github/workflows/core_tests.yml

Lines changed: 25 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v4
2828

29-
- name: Setup Mambaforge
29+
- name: Setup Miniforge
3030
uses: conda-incubator/setup-miniconda@v3
3131
with:
32-
miniforge-variant: Mambaforge
3332
miniforge-version: latest
3433
activate-environment: asim-test
35-
use-mamba: true
3634
python-version: ${{ matrix.python-version }}
3735

3836
- name: Set cache date for year and month
@@ -46,7 +44,7 @@ jobs:
4644

4745
- name: Update environment
4846
run: |
49-
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
47+
conda env update -n asim-test -f conda-environments/github-actions-tests.yml
5048
if: steps.cache.outputs.cache-hit != 'true'
5149

5250
- name: Install activitysim
@@ -58,8 +56,8 @@ jobs:
5856
5957
- name: Conda checkup
6058
run: |
61-
mamba info -a
62-
mamba list
59+
conda info -a
60+
conda list
6361
6462
- name: Lint with Black
6563
run: |
@@ -111,13 +109,11 @@ jobs:
111109
steps:
112110
- uses: actions/checkout@v4
113111

114-
- name: Setup Mambaforge
112+
- name: Setup Miniforge
115113
uses: conda-incubator/setup-miniconda@v3
116114
with:
117-
miniforge-variant: Mambaforge
118115
miniforge-version: latest
119116
activate-environment: asim-test
120-
use-mamba: true
121117
python-version: ${{ matrix.python-version }}
122118

123119
- name: Set cache date for year and month
@@ -131,7 +127,7 @@ jobs:
131127

132128
- name: Update environment
133129
run: |
134-
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
130+
conda env update -n asim-test -f conda-environments/github-actions-tests.yml
135131
if: steps.cache.outputs.cache-hit != 'true'
136132

137133
- name: Install activitysim
@@ -143,8 +139,8 @@ jobs:
143139
144140
- name: Conda checkup
145141
run: |
146-
mamba info -a
147-
mamba list
142+
conda info -a
143+
conda list
148144
149145
- name: Lint with Black
150146
run: |
@@ -194,13 +190,11 @@ jobs:
194190
steps:
195191
- uses: actions/checkout@v4
196192

197-
- name: Setup Mambaforge
193+
- name: Setup Miniforge
198194
uses: conda-incubator/setup-miniconda@v3
199195
with:
200-
miniforge-variant: Mambaforge
201196
miniforge-version: latest
202197
activate-environment: asim-test
203-
use-mamba: true
204198
python-version: ${{ env.python-version }}
205199

206200
- name: Set cache date for year and month
@@ -214,7 +208,7 @@ jobs:
214208

215209
- name: Update environment
216210
run: |
217-
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
211+
conda env update -n asim-test -f conda-environments/github-actions-tests.yml
218212
if: steps.cache.outputs.cache-hit != 'true'
219213

220214
- name: Install activitysim
@@ -226,8 +220,8 @@ jobs:
226220
227221
- name: Conda checkup
228222
run: |
229-
mamba info -a
230-
mamba list
223+
conda info -a
224+
conda list
231225
232226
# TODO: Cache sharrow compiled flows? The contents of __pycache__ appear to
233227
# be ignored, so this is not working as expected right now
@@ -282,13 +276,11 @@ jobs:
282276
- name: Checkout ActivitySim
283277
uses: actions/checkout@v4
284278

285-
- name: Setup Mambaforge
279+
- name: Setup Miniforge
286280
uses: conda-incubator/setup-miniconda@v3
287281
with:
288-
miniforge-variant: Mambaforge
289282
miniforge-version: latest
290283
activate-environment: asim-test
291-
use-mamba: true
292284
python-version: ${{ env.python-version }}
293285

294286
- name: Set cache date for year and month
@@ -304,7 +296,7 @@ jobs:
304296

305297
- name: Update environment
306298
run: |
307-
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
299+
conda env update -n asim-test -f conda-environments/github-actions-tests.yml
308300
if: steps.cache.outputs.cache-hit != 'true'
309301

310302
- name: Install activitysim
@@ -316,8 +308,8 @@ jobs:
316308
317309
- name: Conda checkup
318310
run: |
319-
mamba info -a
320-
mamba list
311+
conda info -a
312+
conda list
321313
322314
- name: Checkout Example
323315
uses: actions/checkout@v4
@@ -345,13 +337,11 @@ jobs:
345337
steps:
346338
- uses: actions/checkout@v4
347339

348-
- name: Setup Mambaforge
340+
- name: Setup Miniforge
349341
uses: conda-incubator/setup-miniconda@v3
350342
with:
351-
miniforge-variant: Mambaforge
352343
miniforge-version: latest
353344
activate-environment: asim-test
354-
use-mamba: true
355345
python-version: ${{ env.python-version }}
356346

357347
- name: Set cache date for year and month
@@ -365,7 +355,7 @@ jobs:
365355

366356
- name: Update environment
367357
run: |
368-
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
358+
conda env update -n asim-test -f conda-environments/github-actions-tests.yml
369359
if: steps.cache.outputs.cache-hit != 'true'
370360

371361
- name: Install activitysim
@@ -377,8 +367,8 @@ jobs:
377367
378368
- name: Conda checkup
379369
run: |
380-
mamba info -a
381-
mamba list
370+
conda info -a
371+
conda list
382372
383373
- name: Test Random Seed Generation
384374
run: |
@@ -392,18 +382,16 @@ jobs:
392382
defaults:
393383
run:
394384
shell: bash -l {0}
395-
name: estimation_mode_test
385+
name: Estimation Mode Unit Tests
396386
runs-on: ubuntu-latest
397387
steps:
398388
- uses: actions/checkout@v4
399389

400-
- name: Setup Mambaforge
390+
- name: Setup Miniforge
401391
uses: conda-incubator/setup-miniconda@v3
402392
with:
403-
miniforge-variant: Mambaforge
404393
miniforge-version: latest
405394
activate-environment: asim-test
406-
use-mamba: true
407395
python-version: ${{ env.python-version }}
408396

409397
- name: Set cache date for year and month
@@ -417,7 +405,7 @@ jobs:
417405

418406
- name: Update environment
419407
run: |
420-
mamba env update -n asim-test -f conda-environments/github-actions-tests.yml
408+
conda env update -n asim-test -f conda-environments/github-actions-tests.yml
421409
if: steps.cache.outputs.cache-hit != 'true'
422410

423411
- name: Install Larch
@@ -432,8 +420,8 @@ jobs:
432420
433421
- name: Conda checkup
434422
run: |
435-
mamba info -a
436-
mamba list
423+
conda info -a
424+
conda list
437425
438426
- name: Test Estimation Mode
439427
run: |
@@ -458,9 +446,7 @@ jobs:
458446
- name: Install dependencies
459447
uses: conda-incubator/setup-miniconda@v3
460448
with:
461-
miniforge-variant: Mambaforge
462449
miniforge-version: latest
463-
use-mamba: true
464450
environment-file: conda-environments/docbuild.yml
465451
python-version: "3.10"
466452
activate-environment: docbuild

0 commit comments

Comments
 (0)