Skip to content

Commit

Permalink
Fix GA caching
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Feb 19, 2022
1 parent c21cc60 commit a74c8bd
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,25 @@ jobs:
with:
python-version: "3.8"

- name: Checkout
uses: actions/checkout@v2

- name: Install template app
run: |
git clone git://github.com/cesium-ml/baselayer_template_app
cp -rf baselayer baselayer_template_app/
- uses: actions/cache@v2
with:
path: |
~/.cache
~/.local
~/.npm
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
key: ${{ runner.os }}-npm-${{ hashFiles('baselayer_template_app/package.json') }}

- name: Checkout
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('**/requirements*.txt') }}

- name: Install system dependencies
run: |
Expand Down Expand Up @@ -85,11 +94,6 @@ jobs:
pip install --upgrade selenium
python -c "import selenium; print(f'Selenium {selenium.__version__}')"
- name: Install template app
run: |
git clone git://github.com/cesium-ml/baselayer_template_app
cp -rf baselayer baselayer_template_app/
- name: Write configuration & build DB
run: |
cd baselayer_template_app
Expand Down

0 comments on commit a74c8bd

Please sign in to comment.