Skip to content

Commit

Permalink
ci: remove git-diff from longtests logic
Browse files Browse the repository at this point in the history
It's causing the jobs to fail and needs to be reworked anyhow.

Signed-off-by: Terri Oda <[email protected]>
  • Loading branch information
terriko committed Dec 16, 2024
1 parent ac4ddf4 commit afa786f
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,18 +244,6 @@ jobs:
with:
path: cache
key: Linux-cve-bin-tool-${{ steps.get-date.outputs.yesterday }}
- uses: technote-space/get-diff-action@f27caffdd0fb9b13f4fc191c016bb4e0632844af # v6.1.2
with:
PATTERNS: |
cve_bin_tool/*.py
cve_bin_tool/data_sources/*.py
cve_bin_tool/checkers/*.py
test/condensed-downloads/*
FILES: |
cvedb.py
test_scanner.py
test_cli.py
cli.py
- name: Install cabextract
if: env.sbom != 'true'
run: sudo apt-get update && sudo apt-get install cabextract
Expand All @@ -280,8 +268,6 @@ jobs:
cp -r ~/.cache/cve-bin-tool cache
- name: Run async tests
if: env.sbom != 'true' && ${{ matrix.testgroup }} == 'async'
env:
LONG_TESTS: ${{ steps.git-diff.outputs.value }}
run: >
pytest --cov --cov-append -n 4 -v --durations=50
--ignore=test/test_cli.py
Expand All @@ -293,22 +279,16 @@ jobs:
--ignore=test/test_language_parser.py
- name: Run language parser tests
if: env.sbom != 'true' && ${{ matrix.testgroup }} == 'language'
env:
LONG_TESTS: ${{ steps.git-diff.outputs.value }}
run: >
pytest --cov --cov-append -n 4 -v --durations=50
test/test_language_parser.py
- name: Run scanner tests
if: env.sbom != 'true' && ${{ matrix.testgroup }} == 'scanner'
env:
LONG_TESTS: ${{ steps.git-diff.outputs.value }}
run: >
pytest --cov --cov-append -n 4 -v --durations=50
test/test_scanner.py
- name: Run synchronous tests
if: env.sbom != 'true' && $${{ matrix.testgroup }} == 'sync
env:
LONG_TESTS: ${{ steps.git-diff.outputs.value }}
run: >
pytest -v --cov --cov-append --cov-report=xml --durations=50
test/test_cli.py
Expand Down

0 comments on commit afa786f

Please sign in to comment.