Skip to content

Bump version and amend DOI #87

Bump version and amend DOI

Bump version and amend DOI #87

Workflow file for this run

# 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