diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40e3ea0..f66c186 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: uses: astral-sh/setup-uv@v3 - name: Install dependencies - run: uv install --all-extras + run: uv sync --all-extras - name: Run pre-commit uses: pre-commit/action@v3.0.1 @@ -42,7 +42,7 @@ jobs: uses: astral-sh/setup-uv@v3 - name: Install dependencies - run: uv install --all-extras --python ${{ matrix.python }} + run: uv sync --all-extras --python ${{ matrix.python }} - name: Test with pytest run: uv run pytest @@ -65,6 +65,12 @@ jobs: with: name: coverage-reports + - name: Install uv + uses: astral-sh/setup-uv@v3 + + - name: Install dependencies + run: uv sync --all-extras + - name: Combine reports run: coverage combine cov-*.xml --data-file cov.xml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 428628b..089db27 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,11 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v3 - - run: uv run --group docs mkdocs gh-deploy --force + - name: Install dependencies + run: uv sync --group docs + + - name: Deploy docs on GitHub Pages + run: uv run mkdocs gh-deploy --force publish-pypi: needs: publish-docs