Skip to content

Commit 73b89ac

Browse files
committed
Use github actions instead of travis
1 parent d21d0e1 commit 73b89ac

File tree

3 files changed

+29
-33
lines changed

3 files changed

+29
-33
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test python package
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- master
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: pip install tox
25+
- name: Run tests
26+
run: tox

.travis.yml

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44
<p align=center>
55
<a href="https://pypi.org/project/pystiebeleltron/"><img src="https://img.shields.io/pypi/v/pystiebeleltron.svg"/></a>
6-
<a href="https://travis-ci.org/fucm/python-stiebel-eltron"><img src="https://img.shields.io/travis/fucm/python-stiebel-eltron.svg"/></a>
6+
<a href="https://github.com/fucm/python-stiebel-eltron"><img src="https://github.com/fucm/python-stiebel-eltron/actions/workflows/test-python-package/badge.svg"/></a>
77
<a href='https://coveralls.io/github/fucm/python-stiebel-eltron?branch=master'><img src='https://coveralls.io/repos/github/fucm/python-stiebel-eltron/badge.svg?branch=master' alt='Coverage Status' /></a>
88
<img src="https://img.shields.io/github/license/fucm/python-stiebel-eltron.svg"/></a>
99
</p>
@@ -42,9 +42,9 @@ The sample below shows how to use this Python module.
4242

4343
unit = pyse.StiebelEltronAPI(client, 1)
4444
unit.update()
45-
45+
4646
print("get_target_temp: {}".format(unit.get_target_temp))
47-
47+
4848
client.close()
4949
```
5050

0 commit comments

Comments
 (0)