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
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

python314:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: unit test
run: ./runo -c python314 test

end-to-end-tests:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![CI](https://github.com/frwl404/dev-it-easy/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/frwl404/dev-it-easy/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/frwl404/runo/branch/master/graph/badge.svg)](https://app.codecov.io/gh/frwl404/runo)
![Static Badge](https://img.shields.io/badge/supported_python-from_3.6_to_3.13-limegreen)
![Static Badge](https://img.shields.io/badge/supported_python-from_3.6_to_3.14-limegreen)

## 🔍 Problem: nowadays, every repo has its own development workflow
When switching to a new repository, one of the first questions would be:
Expand Down
12 changes: 12 additions & 0 deletions containers/python314/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# At the moment of writing UV can't install python on top of alpine,
# So just take python image and install uv on top of it
FROM python:3.14-alpine

# UV, see https://docs.astral.sh/uv/guides/integration/docker/#available-images
COPY --from=ghcr.io/astral-sh/uv:0.6.4 /uv /uvx /bin/

WORKDIR /tmp/runo_venv
COPY containers/python314/pyproject.toml .
COPY containers/python314/uv.lock .

RUN uv sync
14 changes: 14 additions & 0 deletions containers/python314/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[project]
name = "runo"
version = "0.0.1"
description = "Tool for managing repository"
readme = "README.md"
requires-python = ">=3.14"

[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"pytest-mock",
"toml",
]
157 changes: 157 additions & 0 deletions containers/python314/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runo
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ from typing import (
Union,
)

__version__ = "25.10.10-99069d04"
__version__ = "25.10.13-99069d04"

# runo uses .toml format of config files, but parsers for this format
# might be not available in old python versions (only in 3.11 tomllib
Expand Down
6 changes: 5 additions & 1 deletion runo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,8 @@ docker_file_path = "containers/python312/Dockerfile"

[[docker_containers]]
name = "python313"
docker_file_path = "containers/python313/Dockerfile"
docker_file_path = "containers/python313/Dockerfile"

[[docker_containers]]
name = "python314"
docker_file_path = "containers/python314/Dockerfile"