Skip to content

Commit

Permalink
Run Python tests on Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev authored Jul 28, 2024
1 parent 76ba61c commit 8aeb7ef
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Python package

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Test
run: |
python setup.py test

0 comments on commit 8aeb7ef

Please sign in to comment.