Files
AIPass/.github/workflows/windows-test.yml
T
dependabot[bot] aea90da5c6 ci(deps): bump actions/setup-python from 6.2.0 to 6.3.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/a309ff8b426b58ec0e2a45f0f869d46889d02405...ece7cb06caefa5fff74198d8649806c4678c61a1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-27 08:02:22 +00:00

54 lines
1.5 KiB
YAML

name: Windows Test
on:
workflow_dispatch:
# Run on every push/PR to main/dev — NOT path-filtered. This is a branch-
# protection *required* check; a path filter makes it skip on unrelated PRs,
# which GitHub then parks as "Expected — waiting for status" forever, blocking
# the merge. Required checks must run on every PR to report a status.
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
permissions:
contents: read
jobs:
windows-setup:
runs-on: windows-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: '3.12'
- name: Run setup.sh
shell: bash
run: bash setup.sh
- name: Verify drone CLI
shell: bash
run: |
source .venv/Scripts/activate
export PYTHONUTF8=1
drone --version
drone systems
drone @seedgo --help
- name: Run full test suite
shell: bash
run: |
source .venv/Scripts/activate
export PYTHONUTF8=1
pytest -v --tb=short --rootdir=. 2>&1 | tee pytest-output.txt
echo "EXIT_CODE=${PIPESTATUS[0]}" >> "$GITHUB_ENV"
- name: Upload test results
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: windows-pytest-results
path: pytest-output.txt