diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index 0afc0b68d..158356569 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -156,11 +156,13 @@ jobs: failed: ${{ env.failed }} test-smoke: - name: test-smoke ${{ matrix.python-version }} + name: test-smoke ${{ matrix.python-version }} (${{ matrix.os }}) needs: - build-ui - runs-on: ubuntu-22.04 continue-on-error: true + defaults: + run: + shell: bash strategy: matrix: python-version: @@ -170,6 +172,10 @@ jobs: - "3.10" - "3.11" - "3.12" + os: + - ubuntu-22.04 + - windows-2022 + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 @@ -182,6 +188,9 @@ jobs: - run: | cp -R built-ui/. splunk_add_on_ucc_framework/package/appserver/static/js/ - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1 + - run: echo "$env:APPDATA\Python\Scripts" >> $env:GITHUB_PATH + shell: pwsh + if: runner.os == 'Windows' - run: | poetry install poetry run pytest tests/smoke