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
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:

- name: Run tests with coverage
run: |
poetry run python -m pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=. tests/ | tee pytest-coverage.txt
poetry run python -m pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=. tests/ > pytest-coverage.txt
cat pytest-coverage.txt

- name: Generate coverage report & comment on PR
id: coverageComment
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: CICD
on:
workflow_dispatch:

permissions:
contents: write
checks: write
pull-requests: write

jobs:
build:
name: Run Tests, Pre-Commits, and Build Python package
Expand All @@ -23,8 +28,6 @@ jobs:
check-version:
needs: check-branch
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
version: ${{ steps.get_version.outputs.VERSION }}
steps:
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ nav:
- Home: index.md
- Release Notes:
- Overview: release-notes.md
- v2.0.0: release-notes/v2.0.0.md
- v1.4.0: release-notes/v1.4.0.md
- v1.3.2: release-notes/v1.3.2.md
- v1.3.1: release-notes/v1.3.1.md
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "promptolution"
version = "1.4.0"
version = "2.0.0"
description = "A framework for prompt optimization and a zoo of prompt optimization algorithms."
authors = ["Tom Zehle, Moritz Schlager, Timo Heiß"]
readme = "README.md"
Expand Down
Loading