Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run Tox on PR

on:
pull_request:
branches:
- main
- '**' # Run on all branches for PRs

jobs:
tox-tests:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.9, 3.11] # Test against multiple Python versions

steps:
# Checkout the code
- name: Checkout code
uses: actions/checkout@v3

# Setup Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# Install tox
- name: Install tox
run: pip install tox

# Run tox
- name: Run tox
run: tox