Skip to content

Convert to ewc-plugin structure. Add forcing generation #4

Convert to ewc-plugin structure. Add forcing generation

Convert to ewc-plugin structure. Add forcing generation #4

Workflow file for this run

name: Python package
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
name: Linting build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Python info
shell: bash -l {0}
run: |
which python3
python3 --version
- name: Upgrade pip and install ruff
run: python3 -m pip install --upgrade pip ruff
- name: Check code formatting against standards
run: ruff format . --check
- name: Check style against standards
run: ruff check .