Skip to content

Commit

Permalink
pip cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerry Manoim committed Jul 28, 2020
1 parent d6b2184 commit ac8643c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Expand Up @@ -39,7 +39,17 @@ jobs:
if: startsWith(matrix.os, 'macos')
run: |
brew install ta-lib
# TODO: set up pip cache
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('etc/requirements_locked.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install requirements
run: |
python -m pip install -r etc/requirements_build.in -c etc/requirements_locked.txt
Expand Down

0 comments on commit ac8643c

Please sign in to comment.