Skip to content

Commit c809c66

Browse files
[TESTS] Only test supported Python versions (#92)
* Adds tests for 3.11, 3.12, 3.13 * Remove 3.6, 3.7 and 3.8 tests * Port tests to Github Actions from Travis CI
1 parent 39cfe9e commit c809c66

File tree

2 files changed

+27
-28
lines changed

2 files changed

+27
-28
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Code Quality and Tests
2+
3+
on:
4+
push:
5+
branches: ["master", "main"]
6+
pull_request:
7+
8+
jobs:
9+
tests:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
23+
- name: Install Test Dependencies
24+
run: pip install .[test]
25+
26+
- name: Run Tests
27+
run: pytest --color=yes --cov=learnosity_sdk

.travis.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)