Skip to content
Open
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
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,24 @@ on:
push:
branches:
- develop
- main

pull_request:
branches:
- develop

env:
UV_SYSTEM_PYTHON: true

jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13", "3.14-dev"]
python-version: ["3.12", "3.13", "3.14"]

steps:
- name: Checkout Repository
uses: actions/checkout@v5

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

- name: Set up JDK 17
uses: actions/setup-java@v5
with:
Expand All @@ -36,18 +31,19 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Install uv
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
enable-cache: true

- name: Setup workspace
run: |
export UV_PROJECT_ENVIRONMENT="${pythonLocation}"
echo "UV_PROJECT_ENVIRONMENT=$UV_PROJECT_ENVIRONMENT" >> "$GITHUB_ENV"
make install

- name: Check python packages
if: ${{ matrix.python-version == '3.12' }}
run: |
make check-py

Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ lint-py: ## Runs linters and formatters on the python packages.


check-py: ## Runs checks (formatting, lints, type-checking) on the python packages.
uv run docformatter packages
uv run ruff check packages --config pyproject.toml
uv run ruff format --check --config pyproject.toml
uv run pyright packages
Expand Down
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ test = [
"freezegun>=1.5.1",
]
lint = [
"black>=25.1.0",
"ruff>=0.9.7",
"docformatter>=1.7.5",
]
typing = [
"pyright>=1.1.400",
Expand Down Expand Up @@ -50,10 +48,6 @@ asyncio_mode = "auto" # makes pytest run async tests without having to be marked
addopts = [ "--import-mode=importlib", "--cov", "--cov-report=term-missing" ]
consider_namespace_packages = true

[tool.docformatter]
recursive = true
black = true

[tool.ruff]
target-version = "py312"

Expand Down
Loading
Loading