change data loading in doublet detection #1048
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build book | |
on: [push, pull_request] | |
jobs: | |
build-book: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Setup environment | |
run: pip install --upgrade jupyter-book jupytext beautifulsoup4 | |
- name: Cache jupyter-cache folder | |
uses: actions/cache@v2 | |
env: | |
cache-name: jupyter-cache | |
with: | |
path: jupyter-book/_build/.jupyter_cache | |
key: v1-${{ github.ref }}-${{ hashFiles('notebook_scripts/**/*.py') }} | |
restore-keys: | | |
v1-${{ github.ref }}-${{ hashFiles('notebook_scripts/**/*.py') }} | |
v1-${{ github.ref }} | |
v1-refs/heads/master | |
- name: Build the JupyterBook | |
run: make | |
pdfhtml: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install jupyter-book jupytext beautifulsoup4 | |
- name: Install Headless Chrome dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -yq $(cat .github/workflows/pyppeteer_requirements.txt) | |
- name: Install Chromium | |
run: pip install pyppeteer | |
- name: Build PDF from HTML (Docs) | |
run: make pdf | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: PDF_HTML | |
path: jupyter-book/_build/pdf/book.pdf |