Skip to content

LU energy

LU energy #268

Workflow file for this run

# This workflow runs all tests using pytest
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Run pytest
on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
nomenclature:
- "nomenclature-iamc"
- "git+https://github.com/IAMconsortium/nomenclature"
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install requirements
run: pip install ${{ matrix.nomenclature }}
- name: Install pytest
run: pip install pytest
- name: Run pytest
run: pytest tests