Skip to content

Commit 5556c81

Browse files
committed
CI: update checks; update python versions
1 parent a7e58a2 commit 5556c81

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,27 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v2
2828

29-
- name: Set up Python 3.8
29+
- name: Set up Python 3.9
3030
uses: actions/setup-python@v2
3131
with:
32-
python-version: 3.8
32+
python-version: 3.9
3333

3434
- name: Install dependencies
3535
run: |
3636
python -m pip install --upgrade pip
37-
pip install black #pylint
38-
pip install --editable .
37+
pip install --editable .[check]
38+
3939
- name: black check
4040
run: |
41-
python -m black --check .
42-
# - name: pylint check
43-
# run: |
44-
# python -m pylint anaflow/
41+
python -m black --check --diff --color .
42+
43+
- name: isort check
44+
run: |
45+
python -m isort --check --diff --color .
46+
47+
- name: pylint check
48+
run: |
49+
python -m pylint src/anaflow/
4550
4651
build_sdist:
4752
name: sdist on ${{ matrix.os }} with py ${{ matrix.python-version }}
@@ -50,7 +55,7 @@ jobs:
5055
fail-fast: false
5156
matrix:
5257
os: [ubuntu-latest, windows-latest, macos-latest]
53-
python-version: [3.6, 3.7, 3.8, 3.9]
58+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
5459

5560
steps:
5661
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)