fix ruamel and pandas api #147
Workflow file for this run
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: "Pull Request Checks" | |
on: | |
pull_request: | |
# Build when a pull request targets main | |
branches: | |
- main | |
jobs: | |
nosetests-linux: | |
name: Run pytest on Linux | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: 3.7 | |
mamba-version: "*" | |
channels: conda-forge,cantera/label/dev,defaults | |
channel-priority: true | |
activate-environment: ctwrap | |
environment-file: environment.yml | |
#auto-activate-base: false | |
- name: Check conda status | |
run: | | |
conda info | |
conda list | |
- name: Install ctwrap | |
run: | | |
pip install -e . | |
- name: Run pytest | |
run: pytest | |
sphinx-docs: | |
name: Check sphinx docs on Linux | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: 3.7 | |
mamba-version: "*" | |
channels: conda-forge,cantera/label/dev,defaults | |
channel-priority: true | |
activate-environment: ctwrap | |
environment-file: environment.yml | |
- name: Install ctwrap | |
run: | | |
pip install -e . | |
- name: Install Sphinx dependencies | |
run: | | |
cd docs | |
pip install -r requirements.txt | |
sphinx-build -b html . _build | |
- name: Create artifact of the html output | |
uses: actions/upload-artifact@v2 | |
with: | |
name: DocumentationHTML | |
path: docs/_build/ |