Skip to content

Commit 6d258ff

Browse files
authored
Replace travis with github actions (#148)
Signed-off-by: Lukas Bednar <[email protected]>
1 parent 87686bc commit 6d258ff

File tree

5 files changed

+24
-37
lines changed

5 files changed

+24
-37
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: rrmngmnt gatting
2+
on:
3+
pull_request:
4+
jobs:
5+
build:
6+
name: Test
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python: ["3.7", "3.8", "3.9"]
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
with:
15+
python-version: ${{ matrix.python }}
16+
- name: Install dependencies
17+
run: |
18+
pip install tox
19+
- name: Run linters
20+
run: tox -e pep8
21+
- name: Run unit tests
22+
run: tox -e py

.travis.yml

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

README.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
|Build Status|
2-
|Code Coverage|
3-
|Code Health|
4-
51
python-rrmngmnt
62
===============
73

@@ -232,9 +228,3 @@ Test
232228
233229
tox
234230
235-
.. |Build Status| image:: https://travis-ci.org/rhevm-qe-automation/python-rrmngmnt.svg?branch=master
236-
:target: https://travis-ci.org/rhevm-qe-automation/python-rrmngmnt
237-
.. |Code Coverage| image:: https://codecov.io/gh/rhevm-qe-automation/python-rrmngmnt/branch/master/graph/badge.svg
238-
:target: https://codecov.io/gh/rhevm-qe-automation/python-rrmngmnt
239-
.. |Code Health| image:: https://landscape.io/github/rhevm-qe-automation/python-rrmngmnt/master/landscape.svg?style=flat
240-
:target: https://landscape.io/github/rhevm-qe-automation/python-rrmngmnt/master

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifier =
1616
Programming Language :: Python :: 3
1717
Programming Language :: Python :: 3.7
1818
Programming Language :: Python :: 3.8
19+
Programming Language :: Python :: 3.9
1920
keywords =
2021
remote
2122
resource

tox.ini

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
[tox]
2-
envlist = py37,py38,pep8
3-
[travis]
4-
python:
5-
3.7: py37, pep8
6-
3.8: py38, pep8
2+
envlist = py37,py38,py39,pep8
73
[testenv]
84
deps = -r{toxinidir}/test-requirements.txt
95
-r{toxinidir}/requirements.txt

0 commit comments

Comments
 (0)