consolidate the tests locations
This commit is contained in:
@@ -10,7 +10,7 @@ name: Schema Validation
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'bench/golden-corpus/**'
|
||||
- 'src/__Tests/__Benchmarks/golden-corpus/**'
|
||||
- 'src/Scanner/**'
|
||||
- 'docs/schemas/**'
|
||||
- 'scripts/validate-*.sh'
|
||||
@@ -18,7 +18,7 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'bench/golden-corpus/**'
|
||||
- 'src/__Tests/__Benchmarks/golden-corpus/**'
|
||||
- 'src/Scanner/**'
|
||||
- 'docs/schemas/**'
|
||||
- 'scripts/validate-*.sh'
|
||||
@@ -45,8 +45,8 @@ jobs:
|
||||
set -e
|
||||
SCHEMA="docs/schemas/cyclonedx-bom-1.6.schema.json"
|
||||
FIXTURE_DIRS=(
|
||||
"bench/golden-corpus"
|
||||
"tests/fixtures"
|
||||
"src/__Tests/__Benchmarks/golden-corpus"
|
||||
"src/__Tests/fixtures"
|
||||
"seed-data"
|
||||
)
|
||||
|
||||
@@ -112,8 +112,8 @@ jobs:
|
||||
set -e
|
||||
SCHEMA="docs/schemas/spdx-jsonld-3.0.1.schema.json"
|
||||
FIXTURE_DIRS=(
|
||||
"bench/golden-corpus"
|
||||
"tests/fixtures"
|
||||
"src/__Tests/__Benchmarks/golden-corpus"
|
||||
"src/__Tests/fixtures"
|
||||
"seed-data"
|
||||
)
|
||||
|
||||
@@ -184,9 +184,9 @@ jobs:
|
||||
set -e
|
||||
SCHEMA="docs/schemas/openvex-0.2.0.schema.json"
|
||||
FIXTURE_DIRS=(
|
||||
"bench/golden-corpus"
|
||||
"bench/vex-lattice"
|
||||
"tests/fixtures"
|
||||
"src/__Tests/__Benchmarks/golden-corpus"
|
||||
"src/__Tests/__Benchmarks/vex-lattice"
|
||||
"src/__Tests/fixtures"
|
||||
"seed-data"
|
||||
)
|
||||
|
||||
@@ -249,7 +249,7 @@ jobs:
|
||||
run: |
|
||||
set -e
|
||||
SCHEMA="docs/schemas/cyclonedx-bom-1.6.schema.json"
|
||||
INVALID_DIR="tests/fixtures/invalid"
|
||||
INVALID_DIR="src/__Tests/fixtures/invalid"
|
||||
|
||||
if [ ! -d "$INVALID_DIR" ]; then
|
||||
echo "::warning::No invalid fixtures directory found at $INVALID_DIR"
|
||||
|
||||
Reference in New Issue
Block a user