From 163d6c38c9a5b9178939be189f70d3d464d6b9ea Mon Sep 17 00:00:00 2001 From: Duc Trung LE Date: Tue, 30 Jan 2024 10:13:08 +0100 Subject: [PATCH] Add windows workflow --- .github/workflows/build.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aaef2dc..3523bb0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -210,8 +210,18 @@ jobs: integration-tests: name: Integration tests needs: build - runs-on: ubuntu-latest - + strategy: + fail-fast: true + matrix: + os: [ubuntu-latest, windows-latest] + shell: ['bash', 'powershell'] + exclude: + - os: ubuntu-latest + shell: powershell + - os: windows-latest + shell: bash + runs-on: ${{matrix.os}} + env: PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/pw-browsers @@ -231,6 +241,8 @@ jobs: uses: mamba-org/setup-micromamba@v1 with: environment-name: test-env + init-shell: >- + ${{matrix.shell}} create-args: >- pip