Bump tox from 4.52.0 to 4.52.1 #4973
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: test-${{ github.ref_name }}-${{ github.event_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Tests (Py ${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| permissions: | |
| contents: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # See comment here: https://github.com/actions/runner-images/issues/1187#issuecomment-686735760 | |
| - name: Disable network offload | |
| run: sudo ethtool -K eth0 tx off rx off | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v8.0.0 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: uv.lock | |
| activate-environment: true | |
| - name: Install Tox | |
| run: uv sync --frozen --only-group ci | |
| - name: Run Tests | |
| run: tox | |
| env: | |
| # Workaround for tox-docker not supporting Docker 29+, which removed | |
| # the top-level NetworkSettings.Gateway key from the container API. | |
| # This can be removed once tox-docker merges the fix. | |
| # Docker 29 rollout: https://github.com/actions/runner-images/issues/13474 | |
| # tox-docker fix: https://github.com/tox-dev/tox-docker/pull/196 | |
| TOX_DOCKER_GATEWAY: "0.0.0.0" | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./coverage.xml | |
| name: test-${{ matrix.python-version }} | |
| verbose: true |