Skip to content

Commit db49c29

Browse files
authored
Merge pull request #30 from usabilla/task/add-tests
Add Tests Setup
2 parents a9519aa + d2848a7 commit db49c29

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Run Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.8", "3.9", "3.10", "3.11"]
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
23+
- name: Run Tests
24+
run: |
25+
python tests.py

README.MD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ For more information on resources, authorization and available API calls, please
3333

3434
## Installation:
3535

36-
Requires Python 2.7
36+
Requires Python 3.
37+
Support for Python 2.7 is expected but not tested or validated.
3738

3839
```bash
3940
pip install usabilla-api

0 commit comments

Comments
 (0)