From e95daad8ffd0b1930cbd642bb696755e6fc6ee59 Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Sun, 16 Feb 2020 11:00:33 +0100 Subject: [PATCH] Add GitHub Action for Unit Test --- .github/workflows/unittest.yml | 17 +++++++++++++++++ .travis.yml | 11 ----------- 2 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/unittest.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml new file mode 100644 index 0000000..c8819c7 --- /dev/null +++ b/.github/workflows/unittest.yml @@ -0,0 +1,17 @@ +name: CI + +on: [push, pull_request] + +jobs: + gitHubActionForPytest: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8] + name: GitHub Action + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Unit Test + run: | + python -m unittest discover diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 32c17af..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: python -python: - - "3.5" - - "3.6" - - "3.7" -install: - - pip install coverage -script: - - python -m unittest discover - - coverage run -m unittest discover - - coverage report -m --include check_http_json.py