Skip to content

Commit

Permalink
chore(makefile): add test-custom target to run individual test (#11087)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuebner committed Jul 4, 2023
1 parent 8c53e98 commit e428eef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ test-plugins: dev
test-all: dev
@$(VENV) $(TEST_CMD) spec/

test-custom: dev
ifndef test_spec
$(error test_spec variable needs to be set, i.e. make test-custom test_spec=foo/bar/baz_spec.lua)
endif
@$(VENV) $(TEST_CMD) $(test_spec)

pdk-phase-checks: dev
rm -f t/phase_checks.stats
rm -f t/phase_checks.report
Expand Down

1 comment on commit e428eef

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:e428eef01ef68a6b9a635ba15aa49db595ad2e49
Artifacts available https://github.com/Kong/kong/actions/runs/5456122905

Please sign in to comment.