diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8081b74..bb4a96d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,11 @@ jobs: with: python-version: "3.12" + - name: Install lint test dependencies + run: | + python -m pip install --upgrade pip + pip install --ignore-installed . + - name: Run lint test suite run: python -m unittest discover -s tests/lint -t . diff --git a/Makefile b/Makefile index 28badb2..4c2d886 100644 --- a/Makefile +++ b/Makefile @@ -185,7 +185,7 @@ lint-shell: docker run --rm -v "$$PWD:/mnt" -w /mnt koalaman/shellcheck:stable scripts/*.sh .PHONY: test-lint -test-lint: +test-lint: install # Run lint guardrail tests. $(PYTHON) -m unittest discover -s tests/lint -t .