-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 875 Bytes
/
ci_linux.yml
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
34
35
36
37
38
39
40
41
42
name: Linux Python CI
on:
push:
branches:
- develop
- master
tags:
- '*'
pull_request:
branches:
- develop
- master
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true
APP_ENVIRONMENT: "test"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
linux_lint:
runs-on: ubuntu-24.04 # https://github.com/actions/runner-images#available-images
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: true
- name: Setup Python and Poetry
uses: ./.github/actions/linux
with:
python-version: '3.12'
- name: Lint with mypy and flake8
run: |
poetry run mypy ozon_collector/
poetry run flake8 ozon_collector/