diff --git a/.github/workflows/python_actions.yml b/.github/workflows/python_actions.yml new file mode 100644 index 0000000..5554f47 --- /dev/null +++ b/.github/workflows/python_actions.yml @@ -0,0 +1,29 @@ +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: 3.8 + + - 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 56437ef..0000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -language: python - -python: - - "3.8" - -install: - - "pip install --upgrade setuptools" - - "pip install -r requirements.txt" - - "pip install -r dev-requirements.txt" - -script: - - "py.test" - -after_success: - - "coveralls" - -notifications: - email: false - -sudo: false \ No newline at end of file