Skip to content

Add Ruff

Add Ruff #92

Workflow file for this run

# This workflow will install Python dependencies and validate the project
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Nomenclature
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install dependencies
run: pip install -r requirements.txt
# TODO: add validation of "scenario" and "subannual" dimensions
# depends on https://github.com/IAMconsortium/nomenclature/issues/71
- name: Run the nomenclature project validation
run: nomenclature validate-project .