From 16c81175ae1348ae8a21ff216dafac060f9caf50 Mon Sep 17 00:00:00 2001 From: Zyaxsor <70926635+Zyaxsor@users.noreply.github.com> Date: Thu, 27 Feb 2025 10:18:56 -0500 Subject: [PATCH] added a GitHub action to run unit tests automatically on code push --- .github/workflows/unittests.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/unittests.yaml diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml new file mode 100644 index 00000000..458b7640 --- /dev/null +++ b/.github/workflows/unittests.yaml @@ -0,0 +1,16 @@ +name: Continuous Integration +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.12.0 + architecture: x64 + - name: Install dependencies + run: pip install -r requirements.txt + - name: Run Tests + run: python -m pytest