aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build-docs.yml2
-rw-r--r--.github/workflows/ci.yml20
2 files changed, 19 insertions, 3 deletions
diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml
index 806f833..43711d0 100644
--- a/.github/workflows/build-docs.yml
+++ b/.github/workflows/build-docs.yml
@@ -20,7 +20,7 @@ jobs:
python-version: 3.9
- name: Install dependencies
run: |
- python -m pip install --upgrade pip
+ pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Build the documentation
run: make -C docs html
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e09f89d..d3a866c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,9 +27,17 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
+ - name: Load pip cache
+ uses: actions/cache@v2
+ with:
+ path: ~/.cache/pip
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/test-requirements.txt') }}
+ restore-keys: |
+ ${{ runner.os }}-pip-
+
- name: Install dependencies
run: |
- python -m pip install --upgrade pip
+ pip install --upgrade pip
pip install -r test-requirements.txt
- name: Run tests
@@ -56,9 +64,17 @@ jobs:
with:
python-version: 3.9
+ - name: Load pip cache
+ uses: actions/cache@v2
+ with:
+ path: ~/.cache/pip
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/test-requirements.txt') }}
+ restore-keys: |
+ ${{ runner.os }}-pip-
+
- name: Install dependencies
run: |
- python -m pip install --upgrade pip
+ pip install --upgrade pip
pip install -r test-requirements.txt
- name: Lint implementation