Bump version and amend DOI #87
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 will install Python dependencies and run tests | |
name: Python linter | |
on: | |
pull_request: | |
branches: [ "main"] | |
jobs: | |
lint: | |
name: Linting build | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- uses: actions/cache@v3 | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }} | |
- name: Install dependencies | |
run: | | |
python -m pip install poetry | |
poetry lock --no-update | |
poetry install -E dev -E rnn | |
- name: Check style against standards using prospector | |
run: poetry run prospector | |
- name: Check import order | |
run: isort --check-only grainlearning --diff |