From afe2764a4a004a4a2dd78e047e9fc31e2efdff73 Mon Sep 17 00:00:00 2001 From: Ats <70863700+AtsHun@users.noreply.github.com> Date: Mon, 24 Feb 2025 00:43:12 +0100 Subject: [PATCH 1/4] added a Github action to run unit tests automatically on code push --- .github/unittests.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/unittests.yaml diff --git a/.github/unittests.yaml b/.github/unittests.yaml new file mode 100644 index 00000000..5ce1afd1 --- /dev/null +++ b/.github/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 d9cfd02c46e42b97633b4e4323c50c4b13d017c4 Mon Sep 17 00:00:00 2001 From: Ats <70863700+AtsHun@users.noreply.github.com> Date: Mon, 24 Feb 2025 01:01:34 +0100 Subject: [PATCH 2/4] added a GitHub action to run unit tests automatically on code push --- .github/{ => workflows}/unittests.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => workflows}/unittests.yaml (100%) diff --git a/.github/unittests.yaml b/.github/workflows/unittests.yaml similarity index 100% rename from .github/unittests.yaml rename to .github/workflows/unittests.yaml From 7ea0628f69e4d5ba43b5d80c0447dbf7ecba36e3 Mon Sep 17 00:00:00 2001 From: Ats <70863700+AtsHun@users.noreply.github.com> Date: Mon, 24 Feb 2025 01:10:00 +0100 Subject: [PATCH 3/4] updated unittests.yaml with pull_request trigger --- .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 5ce1afd1..8b5ddca0 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 b672ad106d223870dba2000d0b0d3ef3968f31b9 Mon Sep 17 00:00:00 2001 From: Ats <70863700+AtsHun@users.noreply.github.com> Date: Mon, 24 Feb 2025 01:20:26 +0100 Subject: [PATCH 4/4] adding all the tests --- .DS_Store | Bin 0 -> 6148 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..b0d09421bb34b3e41b914943bcaaf36fa7613bca GIT binary patch literal 6148 zcmeHKO^?$s5FK~B-9#&-96;I&k|nNH>3#@-xP;O@aNx2*Z~#;i5gDE?yH&%R?V8|eUr zzQ%;UJSo)Mq)^FDwhR1^3h>-@D5eR1J^1?k@k{Xt-utCZKfX^FbdKndo&tL`rgUw_ znely#5zv$}`baa%b#07RNi|hq*Yug{O}@Cj#otF(hHNmlGQVA(narz+eG7jilOnI` ze*dRv?X~wi2i}2q=)I2Kt9ew%^{g7i)0fT&Ws&*r1x=3`aXab9LqO~}&> zDX(7SWvb=_H7nCfb0gE?`JO)tjuwlv{z+G!9^YSf<>J9fzbns9?=6?Uck9mGhZmy{ z#kf>o@$@i(e~z{r7FWQdTO0eQXj&Gke23_YvC4Gl6mSYS1+J=qT}Qmbs}fzlQ@|;3 z?G@nlLBbhBi;Y3ObfC~j0AL$oZK(4{AakU}&|+f{JuqRYKtmPwh#?FeacT2Hi;Y1; zCt(jC!rocf6N=Dx$MvO7ClMNSrBlEuu&KbFX$HLipI?6d-z2$~Q@|;3trQULVKf|I zNOo`C865Am68;9x#(9mwKNM8-R*YQUijUyh5SLs5h87!xh``*3fR@1(PJw@_z;6w7 BfQJA8 literal 0 HcmV?d00001