From 193d0eed1ff1f13c1e9574d7ce07851a3b60726b Mon Sep 17 00:00:00 2001 From: Agata Skorupka Date: Thu, 7 May 2026 10:56:43 +0200 Subject: [PATCH 1/3] test: test on PR --- .github/workflows/ci.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 36cd811..3951c97 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,13 @@ name: CI (test) -on: [push] +on: + push: + branches: + - main + pull_request: + branches: + - main + jobs: test: From b12649cefde24100b22c76388edd99dce86fb169 Mon Sep 17 00:00:00 2001 From: Agata Skorupka Date: Thu, 7 May 2026 10:57:57 +0200 Subject: [PATCH 2/3] test: break test --- 01-ci-lab/app/calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-ci-lab/app/calculator.py b/01-ci-lab/app/calculator.py index c064e26..a9fe5f5 100644 --- a/01-ci-lab/app/calculator.py +++ b/01-ci-lab/app/calculator.py @@ -2,5 +2,5 @@ def add(a, b): return a + b -def divide(a, b): +def divide(a,b): return a / b From b4c40b52b381737867e6cd4397d305c3ea1d6766 Mon Sep 17 00:00:00 2001 From: Agata Skorupka Date: Thu, 7 May 2026 11:02:38 +0200 Subject: [PATCH 3/3] test: make tests passed --- 01-ci-lab/app/calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-ci-lab/app/calculator.py b/01-ci-lab/app/calculator.py index a9fe5f5..c064e26 100644 --- a/01-ci-lab/app/calculator.py +++ b/01-ci-lab/app/calculator.py @@ -2,5 +2,5 @@ def add(a, b): return a + b -def divide(a,b): +def divide(a, b): return a / b