Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit bd4eb48

Browse files
committed
Test 8
1 parent 99c7ba7 commit bd4eb48

File tree

2 files changed

+42
-15
lines changed

2 files changed

+42
-15
lines changed

.github/actions/install_dependencies.yml renamed to .github/actions/install_dependencies/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
python_version:
55
description: Version of python to prepare
66
required: false
7-
default: 3.11
7+
default: "3.11"
88

99
runs:
1010
using: "composite"
@@ -15,6 +15,7 @@ runs:
1515
with:
1616
python-version: ${{ inputs.python_version }}
1717
- name: Install dependencies
18+
shell: bash
1819
run: |
1920
python -m pip install --upgrade pip
2021
python -m pip install -r ci_requirements.txt

.github/workflows/quality.yml

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,57 @@ on:
88
- 'pyproject.toml'
99

1010
jobs:
11-
quality:
12-
name: Quality
11+
pylint:
12+
name: Code check - pylint
1313
runs-on: ubuntu-latest
14+
# strategy:
15+
# matrix:
16+
# python_version: [3.7, 3.8, 3.9, 3.10, 3.11]
1417
steps:
15-
- uses: .github/actions/install_dependencies@main
16-
with:
17-
python_version: 3.11
18-
# - uses: actions/checkout@v3
19-
# - name: Set up Python 3.11
20-
# uses: actions/setup-python@v3
21-
# with:
22-
# python-version: 3.11
23-
# - name: Install dependencies
24-
# run: |
25-
# python -m pip install --upgrade pip
26-
# pip install -r ci_requirements.txt
18+
- uses: actions/checkout@v3
19+
- uses: ./.github/actions/install_dependencies
2720
- name: Run pylint
2821
run: |
2922
pylint --output-format=colorized $(git ls-files '*.py')
23+
mypy:
24+
name: Code check - mypy
25+
runs-on: ubuntu-latest
26+
strategy:
27+
matrix:
28+
python_version: [3.7, 3.8, 3.9, 3.10, 3.11]
29+
steps:
30+
- uses: actions/checkout@v3
31+
- uses: ./.github/actions/install_dependencies
32+
with:
33+
python_version: ${{ matrix.python_version }}
3034
- name: Run mypy
3135
run: |
3236
mypy --config-file pyproject.toml .
37+
isort:
38+
name: Code check - isort
39+
runs-on: ubuntu-latest
40+
strategy:
41+
matrix:
42+
python_version: [3.7, 3.8, 3.9, 3.10, 3.11]
43+
steps:
44+
- uses: actions/checkout@v3
45+
- uses: ./.github/actions/install_dependencies
46+
with:
47+
python_version: ${{ matrix.python_version }}
3348
- name: Run isort
3449
run: |
3550
isort --settings-file pyproject.toml --check --diff --color .
51+
black:
52+
name: Code check - black
53+
runs-on: ubuntu-latest
54+
strategy:
55+
matrix:
56+
python_version: [3.7, 3.8, 3.9, 3.10, 3.11]
57+
steps:
58+
- uses: actions/checkout@v3
59+
- uses: ./.github/actions/install_dependencies
60+
with:
61+
python_version: ${{ matrix.python_version }}
3662
- name: Run black
3763
run: |
3864
black --config pyproject.toml --check --diff --color .

0 commit comments

Comments
 (0)