diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml new file mode 100644 index 0000000..c124c8d --- /dev/null +++ b/.github/workflows/python-test.yml @@ -0,0 +1,21 @@ +name: Unit test runner + +on: push + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Test #TODO use a testing solution that won't be deprecated soon + run: | + python setup.py test + diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..b7dd8a2 --- /dev/null +++ b/test/__init__.py @@ -0,0 +1,7 @@ +import unittest + + + + +if __name__ == '__main__': + unittest.main()