Skip to content

Commit

Permalink
Print debug information during validation
Browse files Browse the repository at this point in the history
Add --debug to spec-parser options
(--debug is supposed to be more verbose than --verbose)

Signed-off-by: Arthit Suriyawongkul <[email protected]>
  • Loading branch information
bact committed Jan 23, 2025
1 parent 01ca260 commit 0069ba2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileType: SOURCE
# SPDX-FileCopyrightText: Copyright 2024 The SPDX Contributors

name: validate PR
Expand All @@ -15,10 +16,10 @@ jobs:
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.12"
- name: get spec-parser
- name: Get spec-parser and show version
run: |
git clone --depth=1 --single-branch --branch=main https://github.com/spdx/spec-parser/ ${{ runner.temp }}/spec-parser
python ${{ runner.temp }}/spec-parser/main.py -h
- name: run spec-parser to validate
python ${{ runner.temp }}/spec-parser/main.py --version
- name: Run spec-parser to validate
run: |
python ${{ runner.temp }}/spec-parser/main.py -n model
python ${{ runner.temp }}/spec-parser/main.py --debug --no-output model

0 comments on commit 0069ba2

Please sign in to comment.