Fix qnn gpu false alarm. #2212
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: WinML CLI CI | |
| on: | |
| pull_request: | |
| branches: [main, "release/*"] | |
| push: | |
| branches: [main, "release/*"] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - group: analyze | |
| paths: tests/unit/analyze | |
| - group: models | |
| paths: >- | |
| tests/unit/models tests/unit/loader tests/unit/datasets | |
| tests/unit/export | |
| - group: optim | |
| paths: tests/unit/optim | |
| - group: commands | |
| paths: >- | |
| tests/unit/commands tests/unit/config tests/unit/build | |
| tests/unit/compiler tests/unit/session tests/unit/eval | |
| - group: remaining | |
| paths: >- | |
| tests/unit/core tests/unit/onnx tests/unit/cache | |
| tests/unit/utils tests/unit/test_helpers tests/unit/sysinfo tests/unit/inspect | |
| tests/unit/optracing tests/regression tests/cli | |
| name: test (${{ matrix.group }}) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: pyproject.toml | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| - name: Run tests (${{ matrix.group }}) | |
| shell: pwsh | |
| run: | | |
| uv run pytest ${{ matrix.paths }} --tb=short --no-cov ` | |
| -m "not e2e and not npu and not gpu" |