48 lines
1.7 KiB
YAML
48 lines
1.7 KiB
YAML
name: Official contracts and Windows source CI
|
|
|
|
on:
|
|
push:
|
|
branches: [feat/task-agreement-1.25, main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
windows-source:
|
|
runs-on: awb-windows-x64
|
|
permissions:
|
|
contents: read
|
|
actions: write
|
|
steps:
|
|
- name: Check out committed source
|
|
uses: https://gitea.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
with:
|
|
fetch-depth: 1
|
|
persist-credentials: false
|
|
- name: Pin Node and bundled npm
|
|
uses: https://github.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
|
|
with:
|
|
node-version: 24.22.1
|
|
check-latest: false
|
|
- name: Pin the base QA Python
|
|
uses: https://github.com/actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
|
|
with:
|
|
python-version: 3.11.15
|
|
check-latest: false
|
|
- name: Fresh dependencies, contracts, build, tests and owned Windows smoke
|
|
shell: pwsh
|
|
run: |
|
|
$ErrorActionPreference = 'Stop'
|
|
$qaPython = (Get-Command python.exe -ErrorAction Stop).Source
|
|
$qaNode = (Get-Command node.exe -ErrorAction Stop).Source
|
|
& $qaNode scripts/ci.mjs --profile windows --python $qaPython --output-root .qa/ci
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
- name: Preserve original reports and failures
|
|
if: always()
|
|
uses: https://gitea.com/actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5
|
|
with:
|
|
name: windows-source-ci
|
|
path: .qa/ci/**/evidence/**
|
|
if-no-files-found: error
|
|
include-hidden-files: true
|
|
retention-days: 14
|