Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ jobs:
python-version: [ '3.12' ]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d
uses: astral-sh/setup-uv@v9.0.0
with:
cache-suffix: ${{ github.workflow }}

# DOCS
- name: Test building documentation
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d
uses: astral-sh/setup-uv@v9.0.0
with:
cache-suffix: ${{ github.workflow }}

- name: Install pre-commit hooks
run: uvx pre-commit install --install-hooks
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 2

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d
uses: astral-sh/setup-uv@v9.0.0
with:
cache-suffix: ${{ github.workflow }}

# PyPI package
- name: Build Python package
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
MINIO_CONFIG_FILE: ${{ github.workspace }}/.github/minio-test.cfg

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Start MinIO
run: |
Expand All @@ -49,12 +49,14 @@ jobs:
exit 1

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d
uses: astral-sh/setup-uv@v9.0.0
with:
cache-suffix: ${{ github.workflow }}

- name: Sync Python environment
run: uv sync
Expand All @@ -72,10 +74,10 @@ jobs:
uv run pytest --cov-config=.coveragerc.${{ runner.os }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
files: ./coverage.xml
if: matrix.python-version != '3.14'

build-other-os:
Expand All @@ -98,7 +100,7 @@ jobs:
MINIO_CONFIG_FILE: ${{ github.workspace }}/.github/minio-test.cfg

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Start MinIO (macOS)
if: runner.os == 'macOS'
Expand Down Expand Up @@ -148,12 +150,14 @@ jobs:
exit 1

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d
uses: astral-sh/setup-uv@v9.0.0
with:
cache-suffix: ${{ github.workflow }}

- name: Sync Python environment
run: uv sync
Expand Down