Change runner to self-hosted in Python workflow #773
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: Test pip cache | |
| on: | |
| push: | |
| branches: | |
| - issue-851 | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # os: [ubuntu-latest, ubuntu-22.04, windows-latest, macos-13, macos-latest] | |
| os: [self-hosted] | |
| # os: [windows-2025, windows-latest, windows-2019, windows-11-arm] | |
| # python-version: ['3.13.1t', '3.13.1', '3.12', '3.11', '3.10'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| # uses: actions/setup-python@v5 | |
| uses: priyagupta108/setup-python@test-hashFiles | |
| with: | |
| python-version: '3.13' | |
| cache: 'pip' | |
| cache-dependency-path: '**/requirements.txt' | |
| - run: pip install -r requirements.txt | |
| - name: Verify Python Version | |
| run: | | |
| python --version |