From c98d5d961e82897e3b9f433d33fef8c2cdd1fe61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3?= Date: Tue, 24 Feb 2026 14:23:53 +0300 Subject: [PATCH 1/4] add README.md --- Bobrikov/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Bobrikov/README.md diff --git a/Bobrikov/README.md b/Bobrikov/README.md new file mode 100644 index 0000000..2fb36d8 --- /dev/null +++ b/Bobrikov/README.md @@ -0,0 +1 @@ +# Hello, git! From 3b963becf6c01aaa7a5c263d89c4f008f97bb58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3?= Date: Tue, 24 Feb 2026 16:27:51 +0300 Subject: [PATCH 2/4] add CI pipeline --- Bobrikov/.github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Bobrikov/.github/workflows/ci.yml diff --git a/Bobrikov/.github/workflows/ci.yml b/Bobrikov/.github/workflows/ci.yml new file mode 100644 index 0000000..9087a3a --- /dev/null +++ b/Bobrikov/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - name: Install dependencies + run: pip install pytest + + - name: Run tests + run: pytest From 4a823f5ce2e336ab12cfbd90e1085c4da630c4d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3?= Date: Tue, 24 Feb 2026 17:11:12 +0300 Subject: [PATCH 3/4] Move CI workflow to root --- {Bobrikov/.github => .github}/workflows/ci.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {Bobrikov/.github => .github}/workflows/ci.yml (100%) diff --git a/Bobrikov/.github/workflows/ci.yml b/.github/workflows/ci.yml similarity index 100% rename from Bobrikov/.github/workflows/ci.yml rename to .github/workflows/ci.yml From b834ef7d21cfa33ed031c972e67c176904869c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3?= Date: Tue, 24 Feb 2026 17:44:07 +0300 Subject: [PATCH 4/4] Move CI workflow to root --- Bobrikov/main.py | 2 ++ Bobrikov/test_main.py | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 Bobrikov/main.py create mode 100644 Bobrikov/test_main.py diff --git a/Bobrikov/main.py b/Bobrikov/main.py new file mode 100644 index 0000000..3bddbbe --- /dev/null +++ b/Bobrikov/main.py @@ -0,0 +1,2 @@ +def hello(): + return "Hello, CI/CD!" diff --git a/Bobrikov/test_main.py b/Bobrikov/test_main.py new file mode 100644 index 0000000..6a0faf9 --- /dev/null +++ b/Bobrikov/test_main.py @@ -0,0 +1,5 @@ +from main import hello + + +def test_hello(): + assert hello() == "Hello, CI/CD!"