Skip to content

Commit

Permalink
Merge pull request #30 from usabilla/task/add-tests
Browse files Browse the repository at this point in the history
Add Tests Setup
  • Loading branch information
rdohms authored Aug 15, 2023
2 parents a9519aa + d2848a7 commit db49c29
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run Tests

on: [push]

jobs:
build:

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

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Tests
run: |
python tests.py
3 changes: 2 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ For more information on resources, authorization and available API calls, please

## Installation:

Requires Python 2.7
Requires Python 3.
Support for Python 2.7 is expected but not tested or validated.

```bash
pip install usabilla-api
Expand Down

0 comments on commit db49c29

Please sign in to comment.