Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Bump certifi from 2023.7.22 to 2024.7.4 in /python/requirements #565

Bump certifi from 2023.7.22 to 2024.7.4 in /python/requirements

Bump certifi from 2023.7.22 to 2024.7.4 in /python/requirements #565

Workflow file for this run

name: docs
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: docs-${{ github.head_ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
pull-requests: write
checks: write
env:
PYTHONUNBUFFERED: 1
FORCE_COLOR: 1
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: [3.11]
node-version: [18]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
# ------------------------------------------------------------------------
# JS
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Load cached node_modules
id: cached-node_modules
uses: actions/cache@v4
with:
path: js/node_modules
key: >
node_modules
${{ runner.os }}
node-${{ matrix.node-version }}
${{ hashFiles('js/package*.json') }}
- name: Install JS deps
if: steps.cached-node_modules.outputs.cache-hit != 'true'
run: |
task js-install
- name: Build JS
run: |
task download-assets
task js-build
# ------------------------------------------------------------------------
# Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v4
id: cached-python-env
with:
path: ${{ env.pythonLocation }}
key: >
python-docs
${{ runner.os }}
python-${{ matrix.python-version }}
${{ hashFiles('python/pyproject.toml') }}
${{ hashFiles('python/requirements/*') }}
- name: Install dependencies
if: steps.cached-python-env.outputs.cache-hit != 'true'
run: |
pip install -r python/requirements/pyproject-docs.txt
pip install -r python/requirements/examples.txt
- name: Install Hatch and other dependencies
run: |
pip install --upgrade hatch
task download-testdata
- name: Print Python info
run: |
which python
python --version
which pip
pip --version
pip freeze
# ------------------------------------------------------------------------
# Build docs
- name: Build Python package
run: task build
- name: Install package
run: |
cd python
pip uninstall -y jupyter-flex
pip install dist/*.whl
pip freeze
- name: Build docs
run: |
task docs
- name: Cache website
id: cache-build
uses: actions/cache@v4
with:
path: dist
key: >
website
${{ github.run_id }}
${{ github.run_attempt }}
cf-pages:
uses: ./.github/workflows/deploy-cf-pages.yml
needs: [build]
secrets: inherit
post-deploy:
uses: ./.github/workflows/deploy-post.yml
needs: [cf-pages]
secrets: inherit