Skip to content

Commit

Permalink
Update python-test-docs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ncilfone committed Dec 14, 2021
1 parent c388ce9 commit 7bee1c5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/python-test-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '3.8'

- uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('REQUIREMENTS.txt') }}-${{ hashFiles('./requirements/DEV_REQUIREMENTS.txt') }}-${{ hashFiles('./requirements/S3_REQUIREMENTS.txt') }}-${{ hashFiles('./requirements/TUNE_REQUIREMENTS.txt') }}-${{ hashFiles('./requirements/TEST_EXTRAS_REQUIREMENTS_REQUIREMENTS.txt') }}

- name: Install python dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -29,10 +36,13 @@ jobs:
pip install -r ./requirements/S3_REQUIREMENTS.txt
pip install -r ./requirements/TUNE_REQUIREMENTS.txt
pip install -r ./requirements/TEST_EXTRAS_REQUIREMENTS.txt
- uses: actions/setup-node@v2
with:
node-version: 14.x
cache: npm
cache-dependency-path: spock/website/package-lock.json

- name: Test build
working-directory: website
run: |
Expand Down

0 comments on commit 7bee1c5

Please sign in to comment.