Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable Windows smoke tests #1496

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading