Repository: geekbot-com/geekbot-cli (language: python)

Issue:
Write tests
We should add tests for the project. 

- Add test files in /tests
- Create a github workflow that will run tests on every pull request
- Maybe add coverage

The above might split to more issues


Discussion / hints:

Fix patch:
diff --git a/README.md b/README.md
index 6bc2c94..9dcf84c 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,8 @@
 
 Welcome to geekbot-cli, the official command-line interface for [Geekbot](https://geekbot.com/) users. Designed to seamlessly integrate with your daily workflow, geekbot-cli empowers teams to conduct asynchronous standups, check-ins, and reports directly from their terminal. Say goodbye to context switching and streamline your communication with unparalleled convenience.
 
+[![codecov](https://codecov.io/gh/YOUR_GITHUB_USERNAME/YOUR_REPOSITORY_NAME/branch/main/graph/badge.svg)](https://codecov.io/gh/YOUR_GITHUB_USERNAME/YOUR_REPOSITORY_NAME)
+
 ### Installation
 
 Simply run this command in terminal:


Test patch:
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index b3d6cad..36dc62a 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -20,6 +20,12 @@ jobs:
       run: |
         python -m pip install --upgrade pip
         if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
-    - name: Run unittests
+        pip install coverage
+    - name: Run tests with coverage
+      run: coverage run -m unittest discover -s tests
+    - name: Generate coverage report
       run: |
-        python -m unittest discover -s tests
+        coverage report -m
+        coverage xml
+    - name: Upload coverage to Codecov
+      uses: codecov/codecov-action@v2