Skip to content

Commit 95fa2db

Browse files
committed
[.github/workflows/python-package.yml] Fix tester for 2.7 support ; remove 3.7
1 parent 16cc560 commit 95fa2db

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
build_27:
10+
build_2_7:
11+
name: build (2.7)
1112

1213
runs-on: ubuntu-latest
1314
container: coatldev/six:latest
@@ -24,14 +25,14 @@ jobs:
2425
pip install flake8
2526
flake8 . --count --select=$(printf '%s,' {A..Z}) --ignore='W503,E203' --show-source --max-complexity=13 --max-line-length=119 --statistics
2627
- name: Test with unittest
27-
run: python setup.py test
28+
run: python -m unittest discover -s nginxctl/tests
2829

2930
build:
3031

3132
runs-on: ubuntu-latest
3233
strategy:
3334
matrix:
34-
python-version: [ 3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13 ]
35+
python-version: [ 3.8, 3.9, '3.10', 3.11, 3.12, 3.13 ]
3536

3637
steps:
3738
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)