diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..7a073af --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,25 @@ +--- + +name: Tests + +on: + push: + pull_request: + branches: + - master + +permissions: + contents: read + +jobs: + lint: + name: Tests + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + - run: pip install flake8 flake8-import-order + - run: flake8 . + - run: python -m unittest discover tests diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 87c2b85..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: python -arch: - - amd64 - - ppc64le -python: - - 3.5 - - 3.6 - - 3.7 - - 3.8 - - 3.9-dev - - nightly -install: - - pip install flake8 flake8-import-order -script: - - flake8 . - - nosetests