Skip to content

Bump actions/checkout from 3 to 4 #23

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #23

Workflow file for this run

name: Linting (black and flake8)
on:
push:
branches-ignore:
- main
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install pip package(s)
run: pip install hatch
- name: Run black formatter check
run: hatch run lint:black --check --verbose src tests
- name: Run flake8 linter
run: hatch run lint:flake8
- name: Run unit and integrations tests
run: hatch run test:pytest --cov=maven_artifact --cov-report=xml --cov-report=html