Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Adds Pytest GitHub Action
Browse files Browse the repository at this point in the history
* create pytest github action

* fix commas

* workaround version 3.10
  • Loading branch information
schuhmaj authored Mar 9, 2023
1 parent 59f1374 commit 1974dca
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test Python Client

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

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7.x, 3.8.x, 3.9.x, 3.10.x, 3.11.x]

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

0 comments on commit 1974dca

Please sign in to comment.