Skip to content

Commit 3b0861f

Browse files
committed
Update CI
1 parent aba7f1d commit 3b0861f

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,18 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python-version: [3.9, 3.10, 3.11, 3.12, 3.x, pypy3]
22+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2323

2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@master
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v2
27+
uses: actions/setup-python@master
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install dependencies
3131
run: |
32-
python -m pip install --upgrade pip
33-
pip install wheel
34-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
35-
pip install flake8 pytest pytz tzlocal pymodbus pylogix
36-
pip install 'argparse; python_version < "2.7"'
37-
pip install 'configparser; python_version < "3.0"'
38-
pip install 'ipaddress; python_version < "3.0"'
32+
python3 -m pip install --upgrade pip
33+
python3 -m pip install .[all,tests]
3934
- name: Lint with flake8
4035
run: |
4136
make analyze || true

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ VENV = $(VENV_DIR)/$(VENV_NAME)
6969
VENV_OPTS =
7070

7171
# To see all pytest output, uncomment --capture=no
72-
PYTESTOPTS=-vv --capture=no --log-cli-level=INFO # 25 == NORMAL 23 == DETAIL
72+
PYTESTOPTS=-v --capture=no --log-cli-level=25 # INFO 25 == NORMAL 23 == DETAIL
7373

7474
PY_TEST=TZ=$(TZ) $(PY) -m pytest $(PYTESTOPTS)
7575
PY2TEST=TZ=$(TZ) $(PY2) -m pytest $(PYTESTOPTS)

0 commit comments

Comments
 (0)