From dbc6eeb827c0ba18a0c18431a06d4d93f5617f82 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 11:17:23 +0100 Subject: [PATCH 01/12] changed action url --- .github/workflows/run-private.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-private.yml b/.github/workflows/run-private.yml index 7194470d..24214f59 100644 --- a/.github/workflows/run-private.yml +++ b/.github/workflows/run-private.yml @@ -30,7 +30,7 @@ jobs: # Call private action in same org - name: Call private action - uses: dbzero-software/mini_app/actions/private-action.yml@main + uses: dbzero-software/mini_app/actions/@main with: input_message: "Hello from workflow!" artifact_name: "public-artifact" \ No newline at end of file From 566a003855fa25468b5055de5565504b24f1122a Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 11:34:57 +0100 Subject: [PATCH 02/12] fix(ci): changed project to run private --- .github/workflows/run-private.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-private.yml b/.github/workflows/run-private.yml index 24214f59..5070cf4a 100644 --- a/.github/workflows/run-private.yml +++ b/.github/workflows/run-private.yml @@ -30,7 +30,7 @@ jobs: # Call private action in same org - name: Call private action - uses: dbzero-software/mini_app/actions/@main + uses: dbzero-software/dbzero-benchmarks/actions/@main with: input_message: "Hello from workflow!" artifact_name: "public-artifact" \ No newline at end of file From 9910b7304a34464093b5bbc18dd157fa106d2800 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 11:42:47 +0100 Subject: [PATCH 03/12] fix(ci): changed run private to run workflow --- .github/workflows/run-private.yml | 37 +++++++------------------------ 1 file changed, 8 insertions(+), 29 deletions(-) diff --git a/.github/workflows/run-private.yml b/.github/workflows/run-private.yml index 5070cf4a..073854e4 100644 --- a/.github/workflows/run-private.yml +++ b/.github/workflows/run-private.yml @@ -1,36 +1,15 @@ -name: Call Private Action +name: Call Private Workflow on: - push: - branches: - - main workflow_dispatch: permissions: - contents: read # Needed to access private repos in same org + contents: read # allows reading private repos in the same org jobs: - call_private_action: - runs-on: ubuntu-latest - - steps: - # Checkout the public repo - - name: Checkout public repo - uses: actions/checkout@v4 - - # Optional: create an artifact to pass - - name: Create artifact - run: echo "Hello from public repo!" > message.txt - - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: public-artifact - path: message.txt - - # Call private action in same org - - name: Call private action - uses: dbzero-software/dbzero-benchmarks/actions/@main - with: - input_message: "Hello from workflow!" - artifact_name: "public-artifact" \ No newline at end of file + call_private_workflow: + uses: dbzero-software/dbzero-benchmarks/.github/workflows/private-workflow.yml@main + with: + input_message: "Hello from public repo" + secrets: + TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 9d795b0b429a23d561f782705e371a9743f47db7 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 12:46:54 +0100 Subject: [PATCH 04/12] added tests for crm --- .github/workflows/build-and-test.yml | 54 ++++++++++++++++++++++------ 1 file changed, 43 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 571a9e64..b2da9d26 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -26,15 +26,47 @@ jobs: with: python-version: ${{ matrix.python-version }} - # stress-test-linux: - # needs: build-linux - # strategy: - # fail-fast: false - # matrix: - # python-version: ["3.12"] - # uses: ./.github/workflows/test-linux-wheel.yml - # with: - # python-version: ${{ matrix.python-version }} - # pytest-markers: "-m 'stress_test'" - # timeout-minutes: 60 + stress-test-linux: + needs: build-linux + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + uses: ./.github/workflows/test-linux-wheel.yml + with: + python-version: ${{ matrix.python-version }} + pytest-markers: "-m 'stress_test'" + timeout-minutes: 60 + + test-external-crm: + needs: build-linux + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Set up Python 3.11 + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Download wheel artifact + uses: actions/download-artifact@v4 + with: + name: wheels-linux-3.11 + path: ./wheels/ + + - name: Clone external CRM repository + run: | + git clone https://${{ secrets.GITHUB_PAT }}@github.com/wskozlowski/crm.git + cd crm + + - name: Install requirements and wheel + run: | + cd crm + pip install -r requirements.txt + pip install --force-reinstall ../wheels/*.whl + + - name: Run tests + run: | + cd crm + ./run_tests.sh > /dev/null 2>&1 From 34a3a67171dd502c3efbe5eade0c2b53897e18ac Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 12:59:35 +0100 Subject: [PATCH 05/12] changed env name --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b2da9d26..a74558ae 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -56,7 +56,7 @@ jobs: - name: Clone external CRM repository run: | - git clone https://${{ secrets.GITHUB_PAT }}@github.com/wskozlowski/crm.git + git clone https://${{ secrets.PAT_TOKEN }}@github.com/wskozlowski/crm.git cd crm - name: Install requirements and wheel From 848aa826c63436d7f11a91a42889795efbc79fdc Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 13:09:02 +0100 Subject: [PATCH 06/12] changed pull --- .github/workflows/build-and-test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a74558ae..c4706ad7 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -55,9 +55,11 @@ jobs: path: ./wheels/ - name: Clone external CRM repository - run: | - git clone https://${{ secrets.PAT_TOKEN }}@github.com/wskozlowski/crm.git - cd crm + uses: actions/checkout@v4 + with: + repository: wskozlowski/crm + token: ${{ secrets.PAT_TOKEN }} + path: crm - name: Install requirements and wheel run: | From 872ade168f2cb1dc0d1d6fd67a35687355edc639 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 13:24:59 +0100 Subject: [PATCH 07/12] changed repo --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index c4706ad7..6d0174c7 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -57,7 +57,7 @@ jobs: - name: Clone external CRM repository uses: actions/checkout@v4 with: - repository: wskozlowski/crm + repository: adrian-zawadzki/crm token: ${{ secrets.PAT_TOKEN }} path: crm From d681ee04949e53735f5d7fa2642149ae0f1717a2 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 14:03:14 +0100 Subject: [PATCH 08/12] changed test run --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6d0174c7..fb01ae23 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -70,5 +70,5 @@ jobs: - name: Run tests run: | cd crm - ./run_tests.sh > /dev/null 2>&1 + ./run_tests.sh From e3ca85911a49885a3448c5b2be1308f92fa8cb13 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 14:07:24 +0100 Subject: [PATCH 09/12] turn off tests temporary --- .github/workflows/build-and-test.yml | 42 ++++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index fb01ae23..6f3d976b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -11,32 +11,32 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: [ "3.11",] uses: ./.github/workflows/build-linux-wheel.yml with: python-version: ${{ matrix.python-version }} - test-wheels-linux: - needs: build-linux - strategy: - fail-fast: false - matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - uses: ./.github/workflows/test-linux-wheel.yml - with: - python-version: ${{ matrix.python-version }} + # test-wheels-linux: + # needs: build-linux + # strategy: + # fail-fast: false + # matrix: + # python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + # uses: ./.github/workflows/test-linux-wheel.yml + # with: + # python-version: ${{ matrix.python-version }} - stress-test-linux: - needs: build-linux - strategy: - fail-fast: false - matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - uses: ./.github/workflows/test-linux-wheel.yml - with: - python-version: ${{ matrix.python-version }} - pytest-markers: "-m 'stress_test'" - timeout-minutes: 60 + # stress-test-linux: + # needs: build-linux + # strategy: + # fail-fast: false + # matrix: + # python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + # uses: ./.github/workflows/test-linux-wheel.yml + # with: + # python-version: ${{ matrix.python-version }} + # pytest-markers: "-m 'stress_test'" + # timeout-minutes: 60 test-external-crm: needs: build-linux From 0a7a2b3164e1746192d5426b54e25f80268fc7e0 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 14:22:56 +0100 Subject: [PATCH 10/12] added package installation --- .github/workflows/build-and-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6f3d976b..4371e3b8 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -66,6 +66,7 @@ jobs: cd crm pip install -r requirements.txt pip install --force-reinstall ../wheels/*.whl + pip install --force-reinstall packages/*.whl - name: Run tests run: | From baef0946f3ebf915331c8446b9e184d0a1e2fc15 Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 14:36:43 +0100 Subject: [PATCH 11/12] clenup --- .github/workflows/build-and-test.yml | 44 ++++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 4371e3b8..6b3db267 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -11,32 +11,32 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.11",] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] uses: ./.github/workflows/build-linux-wheel.yml with: python-version: ${{ matrix.python-version }} - # test-wheels-linux: - # needs: build-linux - # strategy: - # fail-fast: false - # matrix: - # python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - # uses: ./.github/workflows/test-linux-wheel.yml - # with: - # python-version: ${{ matrix.python-version }} + test-wheels-linux: + needs: build-linux + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + uses: ./.github/workflows/test-linux-wheel.yml + with: + python-version: ${{ matrix.python-version }} - # stress-test-linux: - # needs: build-linux - # strategy: - # fail-fast: false - # matrix: - # python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - # uses: ./.github/workflows/test-linux-wheel.yml - # with: - # python-version: ${{ matrix.python-version }} - # pytest-markers: "-m 'stress_test'" - # timeout-minutes: 60 + stress-test-linux: + needs: build-linux + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + uses: ./.github/workflows/test-linux-wheel.yml + with: + python-version: ${{ matrix.python-version }} + pytest-markers: "-m 'stress_test'" + timeout-minutes: 60 test-external-crm: needs: build-linux @@ -71,5 +71,5 @@ jobs: - name: Run tests run: | cd crm - ./run_tests.sh + ./run_tests.sh > /dev/null 2>&1 From fd5bdb16e52da2ea6078b9495ba5214f73fd746e Mon Sep 17 00:00:00 2001 From: Adrian Zawadzki Date: Wed, 14 Jan 2026 15:12:54 +0100 Subject: [PATCH 12/12] removed workflow --- .github/workflows/run-private.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/workflows/run-private.yml diff --git a/.github/workflows/run-private.yml b/.github/workflows/run-private.yml deleted file mode 100644 index 073854e4..00000000 --- a/.github/workflows/run-private.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Call Private Workflow - -on: - workflow_dispatch: - -permissions: - contents: read # allows reading private repos in the same org - -jobs: - call_private_workflow: - uses: dbzero-software/dbzero-benchmarks/.github/workflows/private-workflow.yml@main - with: - input_message: "Hello from public repo" - secrets: - TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file