From 23031e1bde84cd29d8681365a3ecfb6eba15785b Mon Sep 17 00:00:00 2001 From: Takumi Yanagawa Date: Wed, 28 Aug 2024 16:59:24 +0900 Subject: [PATCH] tmp --- .github/workflows/validate.yml | 3 +++ Makefile | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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: