Repository: hearsaycorp/richenum (language: python)

Issue:
[DNM] Add MIT license
Per `setup.py`, we're already offering this under the MIT license. Include the license text in the repo so there's no confusion.



Discussion / hints:
We should talk to Yasmin about the best way to license anything we open source.


Fix patch:
diff --git a/.circleci/config.yml b/.circleci/config.yml
deleted file mode 100644
index 294d668..0000000
--- a/.circleci/config.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-aliases:
-  - &install-pip |
-    apt-get update
-    apt-get install python3-pip -y
-
-  - &install-dependencies |
-    pip install -q --user flake8 pylint pytest six
-
-  - &setup-environment |
-    echo 'export PATH="$PATH:$HOME/.local/bin"' >> $BASH_ENV
-
-  - &run-tests |
-    flake8 tests src setup.py
-    pylint -E src/richenum
-    pylint -E setup.py
-
-version: 2
-jobs:
-  test-3.5: &test-template
-    docker:
-      - image: circleci/python:3.5
-    steps:
-      - checkout
-      - run:
-          name: setup environment
-          command: *setup-environment
-      - run:
-          name: install dependencies
-          command: *install-dependencies
-      - run:
-          name: run tests
-          command: *run-tests
-  test-3.6:
-    <<: *test-template
-    docker:
-    - image: circleci/python:3.6
-  test-3.7:
-    <<: *test-template
-    docker:
-    - image: circleci/python:3.7
-  test-3.8:
-    <<: *test-template
-    docker:
-    - image: circleci/python:3.8
-
-workflows:
-  version: 2
-  test:
-    jobs:
-      - test-3.5
-      - test-3.6
-      - test-3.7
-      - test-3.8
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 9ad7b60..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-dist: xenial
-language: python
-python:
-  - "3.5"
-  - "3.6"
-  - "3.7"
-  - "3.8"
-sudo: false
-install:
-  - "pip install -q flake8 pylint pytest six"
-before_script:
-  - "flake8 tests src setup.py"
-  - "pylint -E src/richenum"
-  - "pylint -E setup.py"
-script: "python setup.py test"
diff --git a/setup.py b/setup.py
index 4bf54a6..2cf4031 100755
--- a/setup.py
+++ b/setup.py
@@ -16,12 +16,9 @@
         'License :: OSI Approved :: MIT License',
         'Programming Language :: Python',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.5',
-        'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: Implementation :: CPython',
-        'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Software Development :: Libraries :: Python Modules',
     ],
     keywords='python enum richenum',


Test patch:
diff --git a/.github/workflows/python-version-tests.yml b/.github/workflows/python-version-tests.yml
new file mode 100644
index 0000000..301169f
--- /dev/null
+++ b/.github/workflows/python-version-tests.yml
@@ -0,0 +1,35 @@
+name: Python Version Tests
+
+on:
+  push:
+    branches: [ "master" ]
+  pull_request:
+  workflow_dispatch:
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        python-version: ["3.7", "3.8"]
+
+    steps:
+    - uses: actions/checkout@v3
+    - name: Set up Python ${{ matrix.python-version }}
+      uses: actions/setup-python@v3
+      with:
+        python-version: ${{ matrix.python-version }}
+    - name: Install Dependencies
+      run: |
+        sudo apt-get update
+        sudo apt-get install python3-pip -y
+        sudo apt install flake8
+        sudo apt install pylint
+        pip install pytest
+        pip install six
+    - name: Run Tests
+      run: |
+        flake8 tests src setup.py
+        pylint -E src/richenum
+        pylint -E setup.py
\ No newline at end of file