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