From 8ce8971085b37b8d86ed416daa55ef95baf45cc9 Mon Sep 17 00:00:00 2001 From: kdmukai <934746+kdmukai@users.noreply.github.com> Date: Fri, 26 Dec 2025 15:27:19 -0600 Subject: [PATCH] CI env var fix --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b4165fd8..01411b00 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true +env: + # Used by the `Version` class so it can identify the current fork + PR_AUTHOR: ${{ github.event.pull_request.user.login || github.actor }} + jobs: test: runs-on: ubuntu-latest @@ -39,7 +43,6 @@ jobs: pip install . - name: Test with pytest run: | - export PR_AUTHOR="${{ github.event.pull_request.user.login || github.actor }}" mkdir artifacts python -m pytest \ --color=yes \