Skip to content

Commit

Permalink
Added pixi repo tests
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Sep 8, 2024
1 parent 31ae998 commit a4ddf84
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/repotests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,15 @@ jobs:
run: |
bin/cdxgen.js -t python repotests/impacket -o bomresults/impacket.json
shell: bash
- name: repotests pixi
run: |
mkdir pixi-sample
cd pixi-sample
curl -LO https://raw.githubusercontent.com/prefix-dev/pixi/main/pixi.lock
curl -LO https://raw.githubusercontent.com/prefix-dev/pixi/main/pixi.toml
cd ..
bin/cdxgen.js -t python pixi-sample -o bomresults/bom-pixi.json -p
shell: bash
- name: repotests shiftleft-java-example
run: |
bin/cdxgen.js -p -r -t java repotests/shiftleft-java-example -o bomresults/bom-java.json --generate-key-and-sign
Expand Down Expand Up @@ -506,14 +515,6 @@ jobs:
run: |
ls -ltr bomresults
shell: bash
- name: buntests
run: |
rm -rf node_modules
bun install
bun --bun bin/cdxgen.js -p -t java repotests/java-sec-code -o bomresults/bom-java-sec-code-bun.json --deep
bun --bun bin/cdxgen.js -p -t python repotests/django-DefectDojo -o bomresults/django-DefectDojo-bun.json
continue-on-error: true
shell: bash
- name: denotests
run: |
rm -rf node_modules
Expand All @@ -524,6 +525,14 @@ jobs:
env:
FETCH_LICENSE: true
shell: bash
- name: buntests
run: |
rm -rf node_modules
bun install
bun --bun bin/cdxgen.js -p -t java repotests/java-sec-code -o bomresults/bom-java-sec-code-bun.json --deep
bun --bun bin/cdxgen.js -p -t python repotests/django-DefectDojo -o bomresults/django-DefectDojo-bun.json
continue-on-error: true
shell: bash
- uses: actions/upload-artifact@v4
if: github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest'
with:
Expand Down

0 comments on commit a4ddf84

Please sign in to comment.