mirror of
https://github.com/kristoferssolo/bunyan-formatter.git
synced 2025-10-21 17:20:35 +00:00
27 lines
698 B
YAML
27 lines
698 B
YAML
name: Run Tox
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
jobs:
|
|
test:
|
|
name: Test with ${{ matrix.python-version }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
max-parallel: 4
|
|
matrix:
|
|
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install tox tox-gh-actions
|
|
- name: Run Tox
|
|
env:
|
|
TOXENV: py${{ matrix.python-version }}
|
|
run: tox
|