chore(deps): update dependency astral-sh/uv to v0.9.5 #1874
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: Python package | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.9.5" | |
| - name: Install MongoDB | |
| run: | | |
| wget -qO - https://www.mongodb.org/static/pgp/server-8.0.asc | gpg --dearmor | sudo tee /usr/share/keyrings/mongodb.gpg > /dev/null | |
| echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list | |
| sudo apt-get update | |
| sudo apt-get install -y mongodb-org | |
| mongod --version | |
| mongosh --version | |
| - name: Test with tox | |
| run: uv run tox -e test -- -n 4 | |
| lint: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| toxenv: [ruff, mypy] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.9.5" | |
| - name: Tests with tox | |
| run: uv run tox -e ${{ matrix.toxenv }} | |
| test-generate-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.9.5" | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get install pandoc | |
| - name: Tests doc generation | |
| run: uv run sphinx-build -b html docs/ docs/_build |