Skip to content

Commit c8bdb90

Browse files
ci: fix pip branch install on forks
Before this patch, pip branch install pipelines had failed if CI is triggered with a PR from a fork [1]. 1. https://github.com/tarantool/tarantool-python/actions/runs/4052831981/jobs/7162061474
1 parent ca0a514 commit c8bdb90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/testing.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
run: python3 .github/scripts/remove_source_code.py
213213

214214
- name: Install the package with pip
215-
run: pip3 install git+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY@$GITHUB_REF_NAME
215+
run: pip3 install git+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY@$GITHUB_REF
216216

217217
- name: Install test requirements
218218
run: pip3 install -r requirements-test.txt
@@ -340,7 +340,7 @@ jobs:
340340
run: python3 .github/scripts/remove_source_code.py
341341

342342
- name: Install the package with pip
343-
run: pip3 install git+$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY@$env:GITHUB_REF_NAME
343+
run: pip3 install git+$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY@$env:GITHUB_REF
344344

345345
- name: Install test requirements
346346
run: pip3 install -r requirements-test.txt

0 commit comments

Comments
 (0)