Skip to content

Commit

Permalink
ci: try different if syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
terriko committed Dec 16, 2024
1 parent a9e5ea1 commit b0e5b7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ jobs:
NO_EXIT_CVE_NUM=1 python -m cve_bin_tool.cli test/assets/test-kerberos-5-1.15.1.out
cp -r ~/.cache/cve-bin-tool cache
- name: Run async tests
if: env.sbom != 'true' && ${{ matrix.testgroup }} == 'async'
if: ${{ env.sbom != 'true' && matrix.testgroup == 'async' }}
run: >
pytest --cov --cov-append -n 32 -v --durations=50
--ignore=test/test_cli.py
Expand All @@ -278,17 +278,17 @@ jobs:
--ignore=test/test_scanner.py
--ignore=test/test_language_parser.py
- name: Run language parser tests
if: env.sbom != 'true' && ${{ matrix.testgroup }} == 'language'
if: ${{ env.sbom != 'true' && matrix.testgroup == 'language' }}
run: >
pytest --cov --cov-append -n 32 -v --durations=50
test/test_language_parser.py
- name: Run scanner tests
if: env.sbom != 'true' && ${{ matrix.testgroup }} == 'scanner'
if: ${{ env.sbom != 'true' && matrix.testgroup == 'scanner' }}
run: >
pytest --cov --cov-append -n 32 -v --durations=50
test/test_scanner.py
- name: Run synchronous tests
if: env.sbom != 'true' && $${{ matrix.testgroup }} == 'sync
if: ${{ env.sbom != 'true' && matrix.testgroup == 'sync }}
run: >
pytest -v --cov --cov-append --cov-report=xml --durations=50
test/test_cli.py
Expand Down

0 comments on commit b0e5b7d

Please sign in to comment.