Merge pull request #25 from AdaptiveMotorControlLab/update_fig4_data #133
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: Update jupyter notebooks | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.8] | |
steps: | |
- name: pip cache | |
id: cache-pip | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: cache-pip-${{ matrix.os }}-${{ matrix.python-version }} | |
- name: apt cache | |
id: apt-pip | |
uses: actions/cache@v3 | |
with: | |
path: /var/cache/apt/archives/ | |
key: cache-apt-${{ matrix.os }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
pip install -r requirements.txt | |
sudo apt-get install -y pandoc | |
- name: Build package | |
run: | | |
make -j4 all |