Skip to content

Re-inserting the gallery to the docs #212

Re-inserting the gallery to the docs

Re-inserting the gallery to the docs #212

Workflow file for this run

# This workflow runs the tests with the oldest explicitly supported versions of dependencies
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: pytest-legacy
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ '**' ]
jobs:
pytest-legacy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install specific out-dated version of dependencies
# Update the package requirements when changing minimum dependency versions
# Please also add a section "Dependency changes" to the release notes
run: pip install pandas==2.0.0 numpy==1.23.0 matplotlib==3.6.0 iam-units==2020.4.21 xlrd==2.0.1 pint==0.13
- name: Install other dependencies and package
run: pip install .[tests,optional_plotting,optional_io_formats,tutorials]
- name: Test with pytest
run: pytest tests