From 71c540bea80953327b6ab18cc7e9f9f0834738a7 Mon Sep 17 00:00:00 2001 From: Gahan Saraiya Date: Thu, 7 Nov 2024 16:17:06 +0530 Subject: [PATCH 1/2] Update poetry test execution steps Update poetry test execution steps which causing to fail workflow --- .github/workflows/test-execution.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-execution.yml b/.github/workflows/test-execution.yml index 55d439b..d7b4665 100644 --- a/.github/workflows/test-execution.yml +++ b/.github/workflows/test-execution.yml @@ -34,15 +34,18 @@ jobs: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + poetry-version: ["latest"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: abatilo/actions-poetry@v3 + - uses: abatilo/actions-poetry@v3.0.1 with: - poetry-version: 1.4.0 + poetry-version: ${{ matrix.poetry-version }} + - name: View poetry --help + run: poetry --help - name: Install dependencies run: | python -m pip install --upgrade pip From ff66a33a7b6d5061c79e81ea4e70959a760c5a6a Mon Sep 17 00:00:00 2001 From: Gahan Saraiya Date: Thu, 7 Nov 2024 16:24:03 +0530 Subject: [PATCH 2/2] Update test-execution.yml --- .github/workflows/test-execution.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-execution.yml b/.github/workflows/test-execution.yml index d7b4665..d994b08 100644 --- a/.github/workflows/test-execution.yml +++ b/.github/workflows/test-execution.yml @@ -33,7 +33,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] poetry-version: ["latest"] steps: - uses: actions/checkout@v4 @@ -41,7 +41,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: abatilo/actions-poetry@v3.0.1 + - uses: abatilo/actions-poetry@v2 with: poetry-version: ${{ matrix.poetry-version }} - name: View poetry --help @@ -49,7 +49,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pytest + python -m pip install --upgrade pytest + python -m pip install --upgrade poetry if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f test_requirements.txt ]; then pip install -r test_requirements.txt; fi poetry install --with dev