Skip to content

Restore windows code #1

Restore windows code

Restore windows code #1

name: Install locally and run pytest on macOS
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-12
strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install .
pip install pytest
- name: Test with pytest
run: |
pytest tests --log-cli-level=WARNING