Skip to content

Commit

Permalink
clean up GA script
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Apr 23, 2024
1 parent d647fc8 commit 92eab1d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: 'ActivitySim/activitysim'
ref: preview
ref: main
path: 'activitysim'
fetch-depth: 0 # get all tags, lets setuptools_scm do its thing

Expand All @@ -50,22 +50,21 @@ jobs:

- uses: actions/cache@v4
with:
path: /usr/share/miniconda3/envs/asim-test
path: miniconda3/envs/asim-test
key: linux-64-conda-${{ hashFiles('activitysim/conda-environments/github-actions-tests.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
id: cache

- name: Update environment
run: |
mamba env update -n asim-test -f activitysim/conda-environments/github-actions-tests.yml
mamba install -c conda-forge c-blosc2
if: steps.cache.outputs.cache-hit != 'true'

- name: Install activitysim
# installing without dependencies is faster, we trust that all needed dependencies
# are in the conda environment defined above. Also, this avoids pip getting
# confused and reinstalling tables (pytables).
run: |
python -m pip install -e ./activitysim --no-deps
python -m pip install ./activitysim --no-deps
- name: Conda checkup
run: |
mamba info -a
Expand Down

0 comments on commit 92eab1d

Please sign in to comment.