Skip to content

Commit

Permalink
Merge pull request #65 from max-pfeiffer/feature/poetry_v1_8_1_update
Browse files Browse the repository at this point in the history
Updated poetry version and docs
  • Loading branch information
max-pfeiffer authored Mar 24, 2024
2 parents ae25cd4 + e9c5bb5 commit dd1a285
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 150 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,17 @@ jobs:
poetry install --no-interaction --no-root
- name: Run ruff
run: |
source .venv/bin/activate
ruff check --config pyproject.toml .
poetry run pre-commit run -a
run-build-image-tests:
needs: code-quality
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python_version: ["3.10.13", "3.11.8", "3.12.2"]
python_version: ["3.10.14", "3.11.8", "3.12.2"]
os_variant: ["bookworm", "slim-bookworm"]
poetry_version: ["1.6.1", "1.7.1", "1.8.1"]
poetry_version: ["1.6.1", "1.7.1", "1.8.2"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -71,8 +70,7 @@ jobs:
OS_VARIANT: ${{ matrix.os_variant }}
POETRY_VERSION: ${{ matrix.poetry_version }}
run: |
source .venv/bin/activate
pytest tests/build_image --cov --cov-report=xml:build_image_coverage_report.xml
poetry run pytest tests/build_image --cov --cov-report=xml:build_image_coverage_report.xml
- name: Upload coverage report to artifactory
uses: actions/upload-artifact@v3
with:
Expand All @@ -87,9 +85,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.10.13", "3.11.8", "3.12.2"]
python_version: ["3.10.14", "3.11.8", "3.12.2"]
os_variant: ["bookworm", "slim-bookworm"]
poetry_version: ["1.6.1", "1.7.1", "1.8.1"]
poetry_version: ["1.6.1", "1.7.1", "1.8.2"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -159,9 +157,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.10.13", "3.11.8", "3.12.2"]
python_version: ["3.10.14", "3.11.8", "3.12.2"]
os_variant: ["bookworm", "slim-bookworm"]
poetry_version: ["1.6.1", "1.7.1", "1.8.1"]
poetry_version: ["1.6.1", "1.7.1", "1.8.2"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: detect-private-key
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.0
rev: v0.3.4
hooks:
- id: ruff
args: ["--fix", "--config", "pyproject.toml", "."]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This multi arch image supports AMD64 and ARM64 architectures.
**Poetry versions:**
* v1.6.1
* v1.7.1
* v1.8.1
* v1.8.2

**Python versions:**
* v3.10
Expand Down
Loading

0 comments on commit dd1a285

Please sign in to comment.