Skip to content

[Automation] Update python-version matrix #171

[Automation] Update python-version matrix

[Automation] Update python-version matrix #171

Workflow file for this run

# This workflow will install Python dependencies and run tests with a variety of Python versions
name: Python Unit CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: python -m pip install tox
- name: Test
run: python -m tox -e py