diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6792627..a3ee76d 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -25,6 +25,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} - name: Set up Python 3.10 uses: actions/setup-python@v5 with: diff --git a/Makefile b/Makefile index 718d7e0..e73d306 100644 --- a/Makefile +++ b/Makefile @@ -43,13 +43,13 @@ docs: test: ARGS ?= test: TARGET ?= tests/ test: test-plugin - @OUTPUT_PATH=/dev/null $(PYTHON) -m pytest $(ARGS) $(TARGET) + @OUTPUT_PATH=/dev/null python -m pytest $(ARGS) $(TARGET) .PHONY: test-plugin test-plugin: ARGS ?= test-plugin: TARGET ?= plugins_public/tests/ test-plugin: - @OUTPUT_PATH=/dev/null $(PYTHON) -m pytest $(ARGS) $(TARGET) + @OUTPUT_PATH=/dev/null python -m pytest $(ARGS) $(TARGET) .PHONY: it it: