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
25 changes: 12 additions & 13 deletions .github/workflows/python_unit_testing_tox_main.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
name: Unit Testing
name: Python Unit Testing via Tox

on:
workflow_call:

inputs:
python:
required: false
type: string
default: "3.10"
platform:
required: false
type: string
default: "ubuntu-latest"

jobs:
test:
strategy:
matrix:
python:
- "3.9" # oldest Python supported by PSF
- "3.11" # newest Python that is stable
platform:
- ubuntu-latest
# - macos-latest
- windows-latest
runs-on: ${{ matrix.platform }}
runs-on: ${{ inputs.platform }}
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
python-version: ${{ inputs.python }}

- name: Install dependencies
run: |
Expand Down