From b4653f501dec4552591c3a61e4d3d975dea8bb48 Mon Sep 17 00:00:00 2001 From: nemanjamart <72038561+nemanjamart@users.noreply.github.com> Date: Tue, 2 Mar 2021 18:10:11 -0500 Subject: [PATCH 1/2] Create python_actions.yml --- .github/workflows/python_actions.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/python_actions.yml 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 From 63bfff3c8f2475ad25c5e81bb0b71826f784f472 Mon Sep 17 00:00:00 2001 From: nemanjamart <72038561+nemanjamart@users.noreply.github.com> Date: Tue, 2 Mar 2021 18:10:27 -0500 Subject: [PATCH 2/2] Delete .travis.yml --- .travis.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .travis.yml 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