Automatically trace vLLM nightly pytest jobs #69
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: Pipeline generator tests | |
| on: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/pipeline-generator-tests.yml" | |
| - "buildkite/pipeline_generator/**" | |
| - "buildkite/tests/**" | |
| - "pyproject.toml" | |
| - "requirements.txt" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: [self-hosted, linux, x64, vllm-runners] | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Install test dependencies | |
| run: | | |
| python -m pip install -r requirements.txt | |
| python -m pip install pytest pytest-cov ./buildkite/pipeline_generator | |
| - name: Run tests | |
| run: python -m pytest buildkite/tests |