Skip to content

Commit

Permalink
ci: lfs false and cache conda
Browse files Browse the repository at this point in the history
  • Loading branch information
tetov authored Nov 6, 2024
1 parent 5b080b4 commit d48139d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
lfs: false

- name: Cache conda
uses: actions/cache@v3
env:
# Increase this value to reset cache if environment.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}

- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
if: matrix.os != "windows-latest"
with:
auto-update-conda: true
miniforge-version: latest
python-version: ${{ matrix.python-version }}
environment-file: ./environment.yml

Expand Down

0 comments on commit d48139d

Please sign in to comment.