From b038cbcd148e95cd1f72d8f381b780696bdfa964 Mon Sep 17 00:00:00 2001 From: Raymond Fung Date: Mon, 12 Aug 2024 09:42:43 +0100 Subject: [PATCH] Enable int test --- .github/workflows/python-ci.yml | 4 ++-- .github/workflows/python-integration.yml | 18 +++++++++++++++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 13b906b195..2983c890af 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -21,8 +21,8 @@ name: "Python CI" on: push: -# branches: -# - 'main' + branches: + - 'main' pull_request: concurrency: diff --git a/.github/workflows/python-integration.yml b/.github/workflows/python-integration.yml index 6aeae0fc9e..495c657279 100644 --- a/.github/workflows/python-integration.yml +++ b/.github/workflows/python-integration.yml @@ -21,8 +21,6 @@ name: "Python Integration" on: push: - branches: - - 'main' pull_request: concurrency: @@ -31,12 +29,25 @@ concurrency: jobs: integration-test: - runs-on: ubuntu-20.04 + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: ["ubuntu-20.04", "windows-2022"] steps: - uses: actions/checkout@v4 with: fetch-depth: 2 + - name: Docker Login Ubuntu + if: matrix.os == 'ubuntu-20.04' + run: | + cat ~/.docker/config.json + - name: Docker Login Windows + uses: docker/login-action@v3 + with: + username: githubactions + password: 3d6472b9-3d49-4d17-9fc9-90d24258043b - name: Install run: make install - name: Run integration tests @@ -44,3 +55,4 @@ jobs: - name: Show debug logs if: ${{ failure() }} run: docker compose -f dev/docker-compose.yml logs +