Adapt to new RTD configuration style #619
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: Lint | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main, "migrate-*"] | |
# Cancel previous runs that have not completed | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
uses: iiasa/actions/.github/workflows/lint.yaml@main | |
with: | |
# If the "Latest version testable on GitHub Actions" in pytest.yaml | |
# is not the latest 3.x stable version, adjust here to match: | |
# python-version: "3.x" | |
# NB pint is normally implied by iam-units, but we force an earlier | |
# version to work around https://github.com/hgrecco/pint/issues/1767 | |
type-hint-packages: >- | |
genno | |
iam-units | |
"pint < 0.21" | |
pytest | |
sdmx1 | |
types-PyYAML | |
types-tqdm | |
"ixmp @ git+https://github.com/iiasa/ixmp.git@main" | |
"message-ix @ git+https://github.com/iiasa/message_ix.git@main" |