Skip to content

Commit

Permalink
new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TGWolf committed May 14, 2024
1 parent de6942b commit 4469196
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/test-action-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,34 @@ 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
- name: Get versions
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)
Expand Down

0 comments on commit 4469196

Please sign in to comment.