-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (30 loc) · 927 Bytes
/
Copy pathwindows-python-app.yml
File metadata and controls
33 lines (30 loc) · 927 Bytes
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
name: windows-build
on:
push:
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 6
matrix:
python-version: ["3.10.x", "3.11.x", "3.12.x", "3.13.x", "3.14.x"]
os: [windows-latest]
steps:
- uses: actions/checkout@v4
- name: setup python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python3 -m pip install --upgrade pip pytest pytest-asyncio coverage ruff hypothesis aiofiles cryptography
- name: lint with ruff
run: |
ruff check . && ruff format --line-length=76 --check .
- name: test with pytest
run: |
coverage run --omit="aiootp/__engagement/*" --source aiootp -p -m pytest -vv tests/all_aiootp_tests.py
coverage combine
coverage report