Skip to content

pyatmo v7.6.0

pyatmo v7.6.0 #1253

Workflow file for this run

name: Python package
on:
push:
branches:
- master
- development
pull_request:
branches:
- master
- development
jobs:
black:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.11.4]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Check with black
run: |
black --check --diff src/pyatmo/ tests/
linter:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.11.4]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint with ruff
run: |
ruff check src/pyatmo
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.10.8, 3.11.4]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ matrix.python-version }}
- name: Run tests with tox
run: |
pip install tox tox-gh-actions
tox