diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..80c4290 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: Pytest Jira gatting +on: + pull_request: +jobs: + build: + name: Test + runs-on: ubuntu-latest + strategy: + matrix: + python: ["3.6", "3.7", "3.8", "3.9"] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Install dependencies + run: | + pip install tox + - name: Run tox + run: tox -e py diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 52f1629..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: python -python: - - "3.5" - - "3.6" -matrix: - include: - - python: 3.7 - dist: xenial - sudo: true -install: - - pip install tox tox-travis codecov -script: - - tox -after_success: - - codecov -deploy: - provider: pypi - user: "lukas-bednar" - password: - secure: "ks4q6t0YBc4i3hr5uYCepUi05SuBfkA6l2vakuqcQunuwClaCN3ryP5aKCKk3673wdKBh2eeL+VrKrmEnyRTrgo+t02ODSibAMeytwq254m526FiUbATemNrDyPtv7XTO/Yp9yFPwHbpoH8bdTa4MhTUm6qXcRtRdYvfU8zVKUU=" - on: - branch: master - tags: true - skip_upload_docs: true diff --git a/README.rst b/README.rst index 45ddadb..ff35388 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,3 @@ -|Build Status| |Code Health| |Code Coverage| - Intro ===== @@ -229,9 +227,3 @@ In order to execute tests run $ tox -.. |Build Status| image:: https://travis-ci.org/rhevm-qe-automation/pytest_jira.svg?branch=master - :target: https://travis-ci.org/rhevm-qe-automation/pytest_jira -.. |Code Health| image:: https://landscape.io/github/rhevm-qe-automation/pytest_jira/master/landscape.svg?style=flat - :target: https://landscape.io/github/rhevm-qe-automation/pytest_jira/master -.. |Code Coverage| image:: https://codecov.io/gh/rhevm-qe-automation/pytest_jira/branch/master/graph/badge.svg - :target: https://codecov.io/gh/rhevm-qe-automation/pytest_jira diff --git a/tox.ini b/tox.ini index c8616f9..e96c004 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,5 @@ [tox] -envlist = py36,py37,py38,pep8 -[tox:travis] -3.6 = py36, pep8 -3.7 = py37, pep8 -3.8 = py38, pep8 +envlist = py36,py37,py38,py39,pep8 [testenv] deps=