Add CCS to variable tree for final energy use (#76) #674
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
# This workflow validates that the project is consistent with the nomenclature | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Validate the project | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
project-validation: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
nomenclature: | |
- "nomenclature-iamc" | |
- "git+https://github.com/IAMconsortium/nomenclature" | |
steps: | |
- uses: actions/checkout@v3 | |
- 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: Quickfix for pint https://github.com/hgrecco/pint/issues/1969 | |
run: pip install git+https://github.com/hgrecco/pint.git | |
- name: Run the nomenclature project validation | |
run: nomenclature validate-project . |