Skip to content

Commit

Permalink
checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
sayakpaul committed Oct 17, 2024
1 parent b87af3e commit 4b47982
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/run_tests_from_a_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
default: 'diffusers/diffusers-pytorch-cuda'
description: 'Name of the Docker image'
required: true
branch:
description: 'PR Branch to test on'
pr_number:
description: 'PR number to test on'
required: true
test:
description: 'Tests to run (e.g.: `tests/models`).'
Expand Down Expand Up @@ -59,15 +59,7 @@ jobs:
- name: Checkout PR branch
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0

- name: Debug PR Info
run: |
echo "PR Repository: ${{ github.event.pull_request.head.repo.full_name }}"
echo "PR Branch: ${{ github.event.pull_request.head.ref }}"
ref: refs/pull/${{ inputs.pr_number }}/head

- name: Install pytest
run: |
Expand Down

0 comments on commit 4b47982

Please sign in to comment.