Skip to content

Commit

Permalink
Add a reusable workflow for Python tests
Browse files Browse the repository at this point in the history
* Define a new GitHub Actions workflow for running Python tests
* Trigger the workflow on push and pull request events to the main and releases branches
* Use the starter workflow for Python tests with Python version 3.10
  • Loading branch information
jlantz committed Oct 31, 2024
1 parent 68f2e82 commit fb2e3de
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Python Tests

on:
push:
branches:
- main
- 'releases/**'
pull_request:
branches:
- main

jobs:
test:
uses: actions/starter-workflows/.github/workflows/python-tests.yml@main
with:
python-version: '3.10'

0 comments on commit fb2e3de

Please sign in to comment.