Skip to content

v2.3.45

v2.3.45 #74

Workflow file for this run

name: examples
on:
release:
types: [published]
jobs:
tests:
name: 'Compile examples on py${{ matrix.python-version }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python-version: '3.6'
- python-version: '3.7'
- python-version: '3.8'
- python-version: '3.9'
- python-version: '3.10'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Latex
id: install_latex
shell: bash -l {0}
run: |
sudo apt-get update
sudo apt-get install cm-super
sudo apt-get install texlive-fonts-recommended texlive-fonts-extra
sudo apt-get install dvipng
sudo apt-get update
- name: Set up Python
id: setup_python
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: vplanet
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
- name: Install
id: install
if: steps.setup_python.outcome == 'success'
shell: bash -l {0}
run: |
python -m pip install -U pip
python -m pip install -e .
- name: Run Examples
if: steps.install.outcome == 'success'
shell: bash -l {0}
run: python docs/run_examples.py