Bump the minors group across 1 directory with 14 updates #2309
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: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| test_type: | |
| - tests_unit | |
| jupyterhub: | |
| - "==4.1.5" | |
| - ">=5.0.0" | |
| steps: | |
| # https://github.com/actions/checkout/releases/tag/v5.0.0 | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
| - name: Setup Python | |
| # https://github.com/actions/setup-python/releases/tag/v6.0.0 | |
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| # https://github.com/astral-sh/setup-uv/releases/tag/v6.8.0 | |
| uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e | |
| - name: Install dependencies | |
| run: | | |
| if [ "${{ matrix.jupyterhub }}" = "==4.1.5" ]; then | |
| uv sync --group test-jupyterhub-4 --extra dev | |
| else | |
| uv sync --group test-jupyterhub-5 --extra dev | |
| fi | |
| - name: uv pip list | |
| run: uv pip list | |
| - name: Run Tests | |
| run: | | |
| GROUP_FLAG="" | |
| if [ "${{ matrix.jupyterhub }}" = "==4.1.5" ]; then | |
| GROUP_FLAG="--group test-jupyterhub-4" | |
| else | |
| GROUP_FLAG="--group test-jupyterhub-5" | |
| fi | |
| uv run $GROUP_FLAG --extra dev pytest jhub_apps/tests/${{ matrix.test_type }} -vvv -s --log-cli-level=INFO |