#13419: Handle cases where GitHub timeout on a job cuts off the data in a test in a Junit XML, leaving no data to use #61
Workflow file for this run
This file contains 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: "[internal] Infra tools unit tests" | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- "infra/**" | |
schedule: | |
- cron: "0 */6 * * *" | |
jobs: | |
build-and-test-infra: | |
strategy: | |
matrix: | |
python-version: [3.8] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: 'infra/requirements-infra.txt' | |
- name: Install infra dependencies | |
run: pip install -r infra/requirements-infra.txt | |
- name: Test | |
env: | |
PYTHONPATH: ${{ github.workspace }} | |
working-directory: ${{ github.workspace }}/infra | |
run: pytest tests |