From 13cf23357b2398e00f44ac6dd7cb73e9835be667 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 25 Oct 2025 13:18:35 +0000 Subject: [PATCH 1/2] feat: Run tests on multiple operating systems This commit updates the CI/CD workflow to run the test suite on ubuntu-latest, windows-latest, and macos-latest. This is achieved by using a matrix strategy in the 'test' job. --- .github/workflows/ci-cd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 4050517..a72a826 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -32,9 +32,10 @@ jobs: test: needs: lint - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-latest, windows-latest, macos-latest] python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 From 388224a971bca86fd95d8e74c49f7825e75a962f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 25 Oct 2025 13:23:05 +0000 Subject: [PATCH 2/2] fix: Use bash shell for poetry commands in CI This commit fixes the CI failure on Windows by explicitly setting the shell to bash for all steps that use the poetry command. This ensures that the poetry command is available in the PATH and can be executed correctly. --- .github/workflows/ci-cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index a72a826..c340e1f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -49,6 +49,7 @@ jobs: - name: Configure Poetry run: poetry config virtualenvs.in-project true + shell: bash - name: Cache dependencies uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 @@ -60,9 +61,11 @@ jobs: - name: Install dependencies run: poetry install --no-interaction --no-root + shell: bash - name: Run tests run: poetry run pytest + shell: bash - name: Upload coverage to Codecov uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7