Skip to content

Commit

Permalink
test will entire matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
rudsberg committed Dec 4, 2024
1 parent 678b146 commit 1b1d6ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,9 @@ jobs:
contents: write
strategy:
matrix:
java-version: ['24-ea']
java-version: ['24-ea', 'latest-ea']
distribution: ['graalvm']
os: [ubuntu-latest]
os: [macos-latest, windows-latest, ubuntu-latest]
set-gds-token: [false]
components: ['']
steps:
Expand All @@ -440,14 +440,14 @@ jobs:
components: ${{ matrix.components }}
gds-token: ${{ matrix.set-gds-token && secrets.GDS_TOKEN || '' }}
native-image-enable-sbom: 'true'
- name: Build Maven project and verify SBOM was generated and its contents
- name: Build Maven project and verify that SBOM was generated and its contents
run: |
cd __tests__/sbom/main-test-app
mvn -Pnative package
bash verify-sbom.sh
shell: bash
if: runner.os != 'Windows'
- name: Build Maven project and verify SBOM was generated and its contents (Windows)
- name: Build Maven project and verify that SBOM was generated and its contents (Windows)
run: |
cd __tests__\sbom\main-test-app
mvn -Pnative package
Expand Down
2 changes: 1 addition & 1 deletion __tests__/sbom/main-test-app/verify-sbom.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ for %%p in (
findstr /c:%%p sbom.sbom.json || exit /b 1
)

echo SBOM was successfully generated and contained the expected contents
echo SBOM was successfully generated and contained the expected components
2 changes: 1 addition & 1 deletion __tests__/sbom/main-test-app/verify-sbom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ for pattern in "${required_patterns[@]}"; do
fi
done

echo "SBOM was successfully generated and contained the expected contents"
echo "SBOM was successfully generated and contained the expected components"

0 comments on commit 1b1d6ad

Please sign in to comment.