Skip to content

Commit

Permalink
re-adds test target, fixes script-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
karlbrown-va committed Jun 21, 2024
1 parent 19264da commit a97349a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/script-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@ jobs:
uses: actions/setup-python@v5
with:
python-version-file: '.python-version' # Read python version from a file
- name: Install dependencies
run: make python-install
- name: Run tests
run: make test
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ $(INSTALL_STAMP): pyproject.toml poetry.lock
touch $(INSTALL_STAMP)

## Test targets
.PHONY: test
test: $(INSTALL_STAMP) unit-test lint ## Run tests and lint checks

.PHONY: unit-test
unit-test: $(INSTALL_STAMP) ## Run python unit tests
unit-test: $(INSTALL_STAMP) ## Run python unit tests
"$(POETRY)" run pytest -v --cov --cov-report term --cov-report html

.PHONY: lint
Expand Down

0 comments on commit a97349a

Please sign in to comment.