diff --git a/.github/workflows/python_actions.yml b/.github/workflows/python_actions.yml new file mode 100644 index 0000000..b7a279d --- /dev/null +++ b/.github/workflows/python_actions.yml @@ -0,0 +1,28 @@ +name: GitHub Actions CI + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 2.7 + + - name: Install dependencies + run: | + python -m pip install --upgrade setuptools pip + pip install -U -r requirements.txt + pip install -U -r dev-requirements.txt + + + - name: Test with pytest + run: | + py.test + + - run: coveralls diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 609833f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Travis CI file, that integrates with coveralls for reporting test coverage. - -language: python - -python: - - "2.7" - -install: - - "pip install -r requirements.txt" - - "pip install -r dev-requirements.txt" - -script: - - "py.test" - -after_success: - - "coveralls" - -notifications: - email: false - -sudo: false