Skip to content

Merge pull request #73 from KarelChanivecky/patch-1 #34

Merge pull request #73 from KarelChanivecky/patch-1

Merge pull request #73 from KarelChanivecky/patch-1 #34

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [2.7, 3.7, 3.8, 3.9, '3.10', 3.11]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dukpy for Windows Python 2.7
if: matrix.os == 'windows-latest' && matrix.python-version == '2.7'
# Pin to final release that still published Python 2.7 binary wheels
run: pip install dukpy==0.2.3
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install -e .[dev]
- name: Test with pytest and coverage
run: |
pytest --cov=pypac