diff --git a/.github/workflows/_tests.yml b/.github/workflows/_tests.yml index c4f7fa0..cf78009 100644 --- a/.github/workflows/_tests.yml +++ b/.github/workflows/_tests.yml @@ -44,6 +44,11 @@ jobs: cache-dependency-path: "**/pdm.lock" - name: Install dependencies run: pdm install -d -G test --skip=post_install + - name: Cache OSM data + uses: actions/cache@v3 + with: + path: cache + key: overpass-cache-${{ matrix.os }}-${{ matrix.python-version }} - name: Cache tox runner uses: actions/cache@v3 with: diff --git a/.github/workflows/ci-dev.yml b/.github/workflows/ci-dev.yml index 24638a2..60472b8 100644 --- a/.github/workflows/ci-dev.yml +++ b/.github/workflows/ci-dev.yml @@ -80,6 +80,11 @@ jobs: run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" + - name: Cache OSM data + uses: actions/cache@v3 + with: + path: "**/cache" + key: mkdocs-overpass-dev-cache-${{ runner.os }} - name: Execute jupyter notebooks run: | jupyter nbconvert --to notebook --inplace --execute $(find examples/ -type f -name "*.ipynb") --ExecutePreprocessor.kernel_name='python3' diff --git a/.github/workflows/ci-prod.yml b/.github/workflows/ci-prod.yml index 2357e35..7242d10 100644 --- a/.github/workflows/ci-prod.yml +++ b/.github/workflows/ci-prod.yml @@ -70,6 +70,11 @@ jobs: run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" + - name: Cache OSM data + uses: actions/cache@v3 + with: + path: "**/cache" + key: mkdocs-overpass-dev-cache-${{ runner.os }} - name: Execute jupyter notebooks run: | jupyter nbconvert --to notebook --inplace --execute $(find examples/ -type f -name "*.ipynb") --ExecutePreprocessor.kernel_name='python3'