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
12 changes: 6 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Init python poetry action
uses: abatilo/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
poetry-version: 1.8.3
- name: Install dependencies
run: poetry install
version: "0.7.19"
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Sphinx build
run: poetry run sphinx-build --define html_baseurl="${{ steps.pages.outputs.base_url }}" docs _site/
run: uv run sphinx-build --define html_baseurl="${{ steps.pages.outputs.base_url }}" docs _site/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Init python poetry action
uses: abatilo/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
poetry-version: 1.8.3
- name: Install dependencies
run: poetry install
version: "0.7.19"
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Lint with mypy
run: |
poetry run mypy pyzeebe
uv run mypy pyzeebe

import-checking:
runs-on: ubuntu-latest
Expand All @@ -31,15 +31,15 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Init python poetry action
uses: abatilo/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
poetry-version: 1.8.3
- name: Install dependencies
run: poetry install
version: "0.7.19"
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Check imports
run: |
poetry run isort . --check --diff
uv run isort . --check --diff

format-checking:
runs-on: ubuntu-latest
Expand All @@ -48,12 +48,12 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Init python poetry action
uses: abatilo/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
poetry-version: 1.8.3
- name: Install dependencies
run: poetry install
version: "0.7.19"
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Check imports
run: |
poetry run black --check .
uv run black --check .
14 changes: 6 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Init python poetry action
uses: abatilo/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
poetry-version: '1.8.3'
- name: Install dependencies
run: poetry install
version: "0.7.19"
- name: Build and publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry build
poetry publish
uv build
uv publish
38 changes: 19 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' && matrix.python-version != '3.8' }}
- name: Init python poetry action
uses: abatilo/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
poetry-version: 1.8.3
version: "0.7.19"
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' && matrix.python-version != '3.8' }}
- name: Install dependencies
run: poetry install
- name: Install the project
run: uv sync --locked --all-extras --dev
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' && matrix.python-version != '3.8' }}
- name: Test with pytest
run: |
poetry run coverage run --source=pyzeebe -m pytest tests/unit
uv run coverage run --source=pyzeebe -m pytest tests/unit
if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' && matrix.python-version != '3.8' }}
- name: Upload to coveralls
run: |
poetry run coveralls --service=github
uv run coveralls --service=github
env:
COVERALLS_PARALLEL: "true"
COVERALLS_SERVICE_JOB_ID: ${{ github.run_id }}
Expand All @@ -61,20 +61,20 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Init python poetry action
uses: abatilo/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
poetry-version: 1.8.3
- name: Install dependencies
run: poetry install
version: "0.7.19"
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Sleep for 30 seconds
uses: jakejarvis/wait-action@master
with:
time: "30s"

- name: Run integration tests
run: |
poetry run pytest tests/integration
uv run pytest tests/integration

finish-coveralls:
runs-on: ubuntu-latest
Expand All @@ -84,14 +84,14 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Init python poetry action
uses: abatilo/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
poetry-version: 1.8.3
- name: Install dependencies
run: poetry install
version: "0.7.19"
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: finish coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
poetry run coveralls --service=github --finish
uv run coveralls --service=github --finish
Loading