forked from testcontainers/testcontainers-python
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 861 Bytes
/
ci-lint.yml
File metadata and controls
33 lines (30 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Continuous Integration for the core package
name: lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
python:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Env
uses: ./.github/actions/setup-env
with:
python-version: "3.13"
- name: Install Python dependencies
run: poetry install --with dev --no-interaction
- name: Execute pre-commit handler
continue-on-error: true
run: |
poetry run pre-commit run check-toml
poetry run pre-commit run trailing-whitespace
poetry run pre-commit run end-of-file-fixer
poetry run pre-commit run ruff
poetry run pre-commit run ruff-format
- name: Execute mypy
run: |
make mypy-core-report
make mypy-core