Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JPEWdev committed Apr 17, 2024
1 parent 0c6cb14 commit 997200d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
- name: Install package
run: |
pip install -e .[dev]
#- name: Run tests
# run: |
# pytest -v
- name: Run tests
run: |
pytest -v
lint:
runs-on: ubuntu-latest
steps:
Expand Down
9 changes: 9 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2024 Joshua Watt
#
# SPDX-License-Identifier: MIT

import subprocess


def test_help():
subprocess.run(["spdx3query", "--help"], check=True)

0 comments on commit 997200d

Please sign in to comment.