Skip to content

v0.23.9: build(ignore): don't track logs directory #124

v0.23.9: build(ignore): don't track logs directory

v0.23.9: build(ignore): don't track logs directory #124

name: mac-build
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.event.pull_request == null)
strategy:
max-parallel: 5
matrix:
python-version: ["3.8.x", "3.9.x", "3.10.x", "3.11.x", "3.12.x"]
os: [macos-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 aiofiles cryptography
- name: test with pytest
run: |
coverage run --omit="aiootp/__engagement/*" --source aiootp -p -m pytest -vv tests/test_aiootp.py
coverage combine
coverage report