Repository: mitodl/edx-sga (language: python)

Issue:
Migrate Travis -> Github Actions
Travis will be limited open source projects build time soon, so we need to transition to github actions. 

Take a look at how we did it [open discussions](https://github.com/mitodl/open-discussions/pull/3204) or [bootcamps](https://github.com/mitodl/bootcamp-ecommerce/pull/1086) or [micromasters](https://github.com/mitodl/micromasters/pull/4682)



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..7d8deea0
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,25 @@
+name: CI
+on: [push]
+jobs:
+  python-tests:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Python setup
+        uses: actions/setup-python@v2
+        with:
+          python-version: "3.8"
+
+      - name: tox install
+        run: pip install tox
+
+      - name: Python 3.8, Django 2.22 Unit Tests
+        run: tox -e py38-django22
+
+      - name: Upload coverage to CodeCov
+        uses: codecov/codecov-action@v1
+        with:
+          file: ./coverage.xml
+          fail_ci_if_error: true
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 7fe272e5..00000000
--- a/.travis.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-language: python
-matrix:
-  include:
-    - python: 3.8
-      install: 
-        - pip install tox
-      script: tox -e py38-django22
-      env:
-        name: Python 3.8, Django 2.22 Unit Tests
diff --git a/tox.ini b/tox.ini
index bba77139..c6e30703 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,6 @@ envlist = py{38}-django{22,30}
 [testenv]
 passenv =
     COVERAGE_DIR
-    TRAVIS*
     CI
 
 deps =


Test patch:
diff --git a/test_requirements.txt b/test_requirements.txt
index e16ec180..77db7d27 100644
--- a/test_requirements.txt
+++ b/test_requirements.txt
@@ -1,26 +1,28 @@
-celery==3.1.18
-codecov
+celery==3.1.25
+codecov==2.1.5
 coverage==5.3
 cryptography==2.5
 ddt==1.1.1
 djangorestframework==3.12.2
-edx-celeryutils==0.2.6
+edx-celeryutils==0.3.2
 edx-lint
 edx-opaque-keys
 edx-submissions
 jsonfield==2.1.1
 mako==1.0.7
 mock==2.0.0
-pdbpp
-pep8
-pylint-django
+pdbpp==0.10.0
+pep8==1.6.2
+pylint-celery==0.3
+pylint-django==2.2.0
 pyOpenSSL==17.3.0
-pytz
-pytest
-pytest-cov
-pytest-django
-pytest-mock
-six==1.11.0
-tox
-xblock-sdk
-xblock-utils
+pytz==2020.5
+pytest==6.1.1
+pytest-cov==2.10.0
+pytest-django==4.0.0
+pytest-mock==3.3.1
+six==1.14.0
+tox==3.20.0
+
+git+https://github.com/edx/xblock-utils.git@v1.0.5#egg=xblock-utils==1.0.5
+git+https://github.com/edx/xblock-sdk.git@0.2.2#egg=xblock-sdk==0.2.2