Skip to content

Merge pull request #23 from krassowski/bump-version #65

Merge pull request #23 from krassowski/bump-version

Merge pull request #23 from krassowski/bump-version #65

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Run core tests
run: |
python -m pytest -m "not optional"
- name: Install optional dependencies
run: |
pip install -r requirements/optional.txt
- name: Run optional tests
run: |
python -m pytest -m optional