From 7f1840e767728a0d5534372551943309ffc4f56a Mon Sep 17 00:00:00 2001 From: The social engineer Date: Fri, 5 Sep 2025 19:10:52 +0000 Subject: [PATCH 1/2] added actions --- .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..30cfa6dd --- /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 \ No newline at end of file From 6605e2982a2c66e3c0720b863d1b277388f83937 Mon Sep 17 00:00:00 2001 From: The social engineer Date: Fri, 5 Sep 2025 19:15:15 +0000 Subject: [PATCH 2/2] Update unittests.yaml --- .github/workflows/unittests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 30cfa6dd..f4ee17f9 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -1,5 +1,5 @@ name: Continuous Integration -on: [push] +on: [push, pull_request] jobs: build: runs-on: ubuntu-latest @@ -13,4 +13,4 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - name: Run Tests - run: python -m pytest \ No newline at end of file + run: python -m pytest