Skip to content

Commit

Permalink
Add unit tests to GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchnegus committed Nov 26, 2024
1 parent baa9ce9 commit c210aa1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will install Python dependencies and run tests with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Testing

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: |
3.8
3.9
3.10
3.11
3.12
3.13
- name: Install dependencies
uses: ./.github/actions/prepare-tox
- name: Run unit tests
run: |
tox -e py38,py39,py310,py311,py312,py313

0 comments on commit c210aa1

Please sign in to comment.