Skip to content

chore(deps): Bump actions/setup-python from 5.1.1 to 5.2.0 #1389

chore(deps): Bump actions/setup-python from 5.1.1 to 5.2.0

chore(deps): Bump actions/setup-python from 5.1.1 to 5.2.0 #1389

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/[email protected]
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/[email protected]
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/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Run tests with tox
run: |
pip install tox tox-gh-actions
tox