Skip to content

Updated Python versions to test with. #276

Updated Python versions to test with.

Updated Python versions to test with. #276

Workflow file for this run

name: Merge Test
on:
push:
branches:
- master
- v*.*
pull_request:
branches:
- master
- v*.*
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 3
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Prepare environment
run: |
python3 -m pip install --upgrade pip
pip install -e .
- name: Lint with flake8
run: |
pip install -e .[dev]
flake8 . --count --show-source --statistics
- name: Check with MyPy
run: |
pip install -e .[test]
mypy source unit-tests system-tests
- name: Test with pytest
run: |
pip install .[test]
pytest --cov stylist --cov-fail-under=75