diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index d75be1c..25909ab 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -22,6 +22,8 @@ jobs: # - windows-latest fail-fast: false runs-on: ${{ matrix.os }} + env: + UV_HTTP_TIMEOUT: 300 # max 5min to install deps steps: - name: Setup pandoc run: | @@ -42,7 +44,7 @@ jobs: run: uv python install ${{ matrix.python-version }} - name: Install the project - run: uv sync --all-extras --dev + run: uv sync --extra docs - name: Build docs run: uv run mkdocs build @@ -76,7 +78,7 @@ jobs: python-version-file: "pyproject.toml" - name: Install the project - run: uv sync --all-extras --dev + run: uv sync --extra docs - name: Deploy docs run: uv run mkdocs gh-deploy --force diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01d2443..bd14917 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,8 @@ on: jobs: release: runs-on: ubuntu-latest + env: + UV_HTTP_TIMEOUT: 300 # max 5min to install deps environment: name: pypi url: https://pypi.org/p/toyml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4cfb578..f28e5a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,8 @@ on: jobs: build: runs-on: ubuntu-latest + env: + UV_HTTP_TIMEOUT: 300 # max 5min to install deps strategy: fail-fast: false matrix: @@ -29,7 +31,7 @@ jobs: python-version-file: "pyproject.toml" - name: Install the project - run: uv sync --all-extras --dev + run: uv sync --extra dev --extra plot - name: Lint with Mypy run: uv run mypy toyml tests