Skip to content
Draft
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
9 changes: 3 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ name: CI/CD Pipeline
jobs:
test:
name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.runs-on || matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'macos-14-arm64', 'windows-latest']
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.12', '3.13', '3.14']
include:
- os: 'macos-14-arm64'
runs-on: 'macos-14'
defaults:
run:
working-directory: ${{ github.workspace }}
Expand All @@ -31,7 +28,7 @@ jobs:
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --all-extras
run: uv sync --group test
shell: bash

- name: Run tests with coverage
Expand Down
15 changes: 10 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "pythonLogs"
version = "6.0.1"
version = "6.0.2"
description = "High-performance Python logging library with file rotation and optimized caching for better performance"
license = {text = "MIT"}
readme = "README.md"
Expand Down Expand Up @@ -37,12 +37,17 @@ dependencies = [
Homepage = "https://pypi.org/project/pythonLogs"
Repository = "https://github.com/ddc/pythonLogs"

[project.optional-dependencies]
[dependency-groups]
test = [
"poethepoet>=0.40.0",
"psutil>=7.2.2",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-cov>=7.0.0",
]
dev = [
{include-group = "test"},
"black>=26.1.0",
"poethepoet>=0.40.0",
"ruff>=0.14.14",
]

[tool.hatch.build]
Expand All @@ -53,7 +58,7 @@ packages = ["pythonLogs"]

[tool.poe.tasks]
build = "uv build --wheel"
updatedev.shell = "uv lock && uv sync --no-install-project --all-extras"
updatedev.shell = "uv lock && uv sync --no-install-project --all-groups"
linter.shell = "uv run ruff check --fix . && uv run black ."
profile = "uv run python -m cProfile -o cprofile.prof -m pytest"
test = "uv run pytest"
Expand Down
Loading
Loading