From 446919617fd774095b5dd3ed71c39dd3fd0d8f4f Mon Sep 17 00:00:00 2001 From: Wolf Date: Tue, 14 May 2024 18:01:54 +0100 Subject: [PATCH] new tests --- .github/workflows/test-action-python.yml | 25 ++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-action-python.yml b/.github/workflows/test-action-python.yml index 255b572..122bf16 100644 --- a/.github/workflows/test-action-python.yml +++ b/.github/workflows/test-action-python.yml @@ -108,11 +108,11 @@ jobs: highest-only: true remove-patch-version: true - test-output-method-max-versions-strip-patch: - name: Highest version only (Strip Patch) + test-output-method-max-versions-strip-patch-setup: + name: max-versions=3 runs-on: ubuntu-latest outputs: - highest-version: ${{ steps.get-versions.outputs.latest-versions }} + version-matrix: ${{ steps.get-versions.outputs.latest-versions }} steps: - name: Checkout the repository uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 @@ -120,9 +120,22 @@ jobs: uses: ./ id: get-versions with: - language: python - max-versions: 3 - remove-patch-version: true + language: python + remove-patch-version: true + max-versions: "3" + + test-output-method-max-versions-strip-patch: + name: max-versions=3 + needs: test-output-method-max-versions-strip-patch-setup + runs-on: ubuntu-latest + strategy: + matrix: + version-matrix: ${{fromJson(needs.test-output-method-max-versions-strip-patch-setup.outputs.version-matrix)}} + steps: + - name: Setup Python ${{ matrix.version-matrix }} + uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 + with: + python-version: ${{ matrix.version-matrix }} test-output-method-load-highest-only-strip-patch: name: Build for highest version only (Strip Patch)