Merge pull request #211 from konflux-ci/konflux/mintmaker/main/regist… #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test sbom utility scripts image | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/test-sbom-utility-scripts-image.yml | |
- sbom-utility-scripts/** | |
pull_request: | |
branches: | |
- main | |
paths: | |
- .github/workflows/test-sbom-utility-scripts-image.yml | |
- sbom-utility-scripts/** | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Run tox checks for base-images-sbom-script | |
run: | | |
python3 -m pip install tox | |
cd ./sbom-utility-scripts/scripts/base-images-sbom-script/app/ | |
tox | |
- name: Run tox checks for merge-sboms-script | |
run: | | |
python3 -m pip install tox | |
cd ./sbom-utility-scripts/scripts/merge-sboms-script/ | |
tox | |
- name: Run tox checks for index-image-sbom-script | |
run: | | |
python3 -m pip install tox | |
cd ./sbom-utility-scripts/scripts/index-image-sbom-script/ | |
tox | |
- name: Run tox checks for index-image-sbom-script | |
run: | | |
python3 -m pip install tox | |
cd ./sbom-utility-scripts/scripts/add-image-reference-script/ | |
tox |