From d5deae268ffed0bb9f2bdec1838547b36f6cc2ce Mon Sep 17 00:00:00 2001 From: Zozi Date: Mon, 5 Aug 2024 18:20:28 -0600 Subject: [PATCH] chore: Add GitHub Actions workflow for running tests --- .github/workflows/tests.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..d57fadf --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,29 @@ +name: Run Tests + +on: + pull_request: + branches: + - main + - develop + +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 -r requirements.txt + + - name: Run unittests + run: | + python -m unittest discover -s tests +