Skip to content

Commit

Permalink
add submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
superbock committed Jan 26, 2022
1 parent dee1545 commit 0a7c486
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ jobs:
- name: Cache conda
uses: actions/cache@v2
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 1
CACHE_NUMBER: 1 # increment this value to reset cache if environment.yml has not changed
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles( matrix.envfile ) }}
key: ${{ runner.os }}-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}
- name: Install Conda env
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -41,9 +40,8 @@ jobs:
add-pip-as-python-dependency: true
auto-activate-base: false
activate-environment: madmom
# channel-priority: ${{ matrix.channel-priority }}
environment-file: environment.yml
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
use-only-tar-bz2: true # this needs to be set for caching to work properly
- name: Conda info
shell: bash -l {0}
run: |
Expand All @@ -52,7 +50,8 @@ jobs:
- name: Install madmom
shell: bash -l {0}
run: |
pip install -e .[tests]
pip install -e .
git submodule update --init --remote
- name: Lint with flake8
shell: bash -l {0}
run: |
Expand Down

0 comments on commit 0a7c486

Please sign in to comment.