From 92b2638b9b50ef62448ce9fa9898c9b8134617c0 Mon Sep 17 00:00:00 2001 From: grig-v Date: Tue, 10 Jun 2025 13:08:18 +0400 Subject: [PATCH 1/4] 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 From 6043cd19977947ffe88263a32445d3bdbebf57f6 Mon Sep 17 00:00:00 2001 From: grig-v Date: Tue, 10 Jun 2025 13:24:23 +0400 Subject: [PATCH 2/4] add test.md fot Action testing --- test.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.md diff --git a/test.md b/test.md new file mode 100644 index 00000000..de4d9fcb --- /dev/null +++ b/test.md @@ -0,0 +1 @@ +Intentionally breaking From d45ad6bd9d2609b37557fcd9acdd559bd46e5c8d Mon Sep 17 00:00:00 2001 From: grig-v Date: Tue, 10 Jun 2025 13:32:11 +0400 Subject: [PATCH 3/4] add PR test --- .github/workflows/unittests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 458b7640..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 From 4fa793d2f247822f63981035f2de75f30a9f5857 Mon Sep 17 00:00:00 2001 From: grig-v Date: Tue, 10 Jun 2025 13:37:46 +0400 Subject: [PATCH 4/4] Update: test.md --- .DS_Store | Bin 0 -> 6148 bytes .github/.DS_Store | Bin 0 -> 6148 bytes test.md | 2 ++ 3 files changed, 2 insertions(+) create mode 100644 .DS_Store create mode 100644 .github/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..126a94737ea7adb2790970cda062a5b320c79a64 GIT binary patch literal 6148 zcmeHK%}&BV5T2Dnsl_fu@>Cd)Byt2{?xCQ+6HQ^N;S zZ)R#jVdCxhd|RXgb0li38PE)@GEk7qD&7B=KhOWGMS7(f&;M1& literal 0 HcmV?d00001 diff --git a/.github/.DS_Store b/.github/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..4033bdd8f19d6141c75e6b6ec7cd6211c8271051 GIT binary patch literal 6148 zcmeHK%}T>S5T0$TX(&Pu3Oz1(E!Y+hEnY&cFJMFuDz%|iLu0lysX3HF&iX<=iO=KA z?p7?V;7P>J!0b0WKUwzMus;AGy0c*upb7wGRKkLb%?6=3>6#R*hfwHm+(QHkGDw1K zEt?&GkpWse7gtQd6vpsn{gO!#sQ{yI!6XWkw9$AMg<@%E*Ku5@;@tX=D)ZApI!n5P z={5B(l!}6-JqRwtQP!{SpQ<<=gz;#q3&PlP#_!mXg?*t2Jv#cOP6y!`