Skip to content

Bump version to 2.1.2 for release (#166) #309

Bump version to 2.1.2 for release (#166)

Bump version to 2.1.2 for release (#166) #309

# Run `make lint test`: flake8 and pytest.
name: python-test
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# NOTE: skips dev deps in requirements.txt.
python setup.py install
- name: Test with pytest
run: |
pip install pytest
make -B test