diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..b6b43ffc --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,10 @@ +name: Lint +on: [push, pull_request] +jobs: + build: + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + - uses: pre-commit/action@v3.0.0 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e3f74728..00000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -sudo: false -language: python -cache: pip -python: - - "3.4" -install: - - pip install -r requirements-test.txt -script: - - flake8 . diff --git a/requirements-test.txt b/requirements-test.txt deleted file mode 100644 index 39304807..00000000 --- a/requirements-test.txt +++ /dev/null @@ -1 +0,0 @@ -flake8