Skip to content

Update .gitconfig

Update .gitconfig #28

Workflow file for this run

on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Use node tools
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Pull pip packages from cache
uses: actions/cache@v2
with:
key: pip-${{ runner.os }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.dev.txt') }}-${{ hashFiles('setup.py') }}
restore-keys: pip-${{ runner.os }}
path: ${{ env.pythonver.pythonLocation }}/lib/python3.9/site-packages
- name: Pull typing stubs from cache
uses: actions/cache@v2
with:
key: typingstubs-${{ runner.os }}-${{ hashFiles('createstubs.sh') }}
restore-keys: typingstubs-${{ runner.os }}-${{ hashFiles('createstubs.sh') }}
path: typings/
- name: Initialize build environment
run: TERM=dumb && ./init.sh -n
- name: Papermill notebooks
run: |
jupyter kernelspec list
cd notebooks
bash run_all.sh python3
- name: Archive milled notebooks
uses: actions/upload-artifact@v3
with:
name: papermilled-notebooks
path: |
notebooks/output/*.ipynb
!dist/**/*.md