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
| # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: Test Suite | |
| on: push | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: "3.10" | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: uv pip install ".[dev]" | |
| - name: Run unit tests | |
| run: pytest tests --ignore=tests/integration -v | |
| integration-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: "3.10" | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: | | |
| uv pip install ".[dev]" | |
| uv pip install "./integration-tests[dev]" | |
| - name: Run integration tests | |
| run: pytest tests/integration -v |