|
@@ -19,50 +19,15 @@ jobs:
|
|
|
timeout-minutes: 45
|
|
|
runs-on: macos-latest
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
- - name: Set up Python
|
|
|
- uses: actions/setup-python@v1
|
|
|
- with:
|
|
|
- python-version: ${{ matrix.python }}
|
|
|
+ - name: Checkout
|
|
|
+ uses: actions/checkout@v2
|
|
|
|
|
|
- - name: Set up Node
|
|
|
- uses: actions/setup-node@v1
|
|
|
- with:
|
|
|
- node-version: '12.x'
|
|
|
+ - name: Base Setup
|
|
|
+ uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
|
|
|
|
|
|
- name: Setup firefox
|
|
|
uses: browser-actions/setup-firefox@latest
|
|
|
|
|
|
- - name: Cache pip on Linux
|
|
|
- uses: actions/cache@v2
|
|
|
- if: startsWith(runner.os, 'Linux')
|
|
|
- with:
|
|
|
- path: ~/.cache/pip
|
|
|
- key: ${{ runner.os }}-pip-${{ matrix.python }}-${{ hashFiles('**/requirements.txt', 'setup.py') }}
|
|
|
- restore-keys: |
|
|
|
- ${{ runner.os }}-pip-${{ matrix.python }}
|
|
|
-
|
|
|
- - name: Get yarn cache directory path
|
|
|
- id: yarn-cache-dir-path
|
|
|
- run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
- - name: Cache yarn
|
|
|
- uses: actions/cache@v2
|
|
|
- id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
|
|
- with:
|
|
|
- path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
|
|
- key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
|
- restore-keys: |
|
|
|
- ${{ runner.os }}-yarn-
|
|
|
-
|
|
|
- - name: Cache checked links build
|
|
|
- uses: actions/cache@v2
|
|
|
- if: ${{ matrix.group == 'linkcheck' }}
|
|
|
- with:
|
|
|
- path: ~/.cache/pytest-link-check
|
|
|
- key: ${{ runner.os }}-linkcheck-${{ hashFiles('**/*.rst') }}-changelog
|
|
|
- restore-keys: |
|
|
|
- ${{ runner.os }}-linkcheck-
|
|
|
-
|
|
|
- name: Install dependencies
|
|
|
env:
|
|
|
GROUP: ${{ matrix.group }}
|