File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,12 @@ jobs:
34
34
with :
35
35
python-version : ' 3.10'
36
36
37
- - name : Install dependencies
38
- run : |
39
- python3 -m venv .venv
40
- source .venv/bin/activate
41
- python -m pip install -r libcxx/utils/requirements.txt
42
- python -m pip install pygithub
43
-
44
37
- name : Extract information from the PR
45
38
id : vars
46
39
run : |
40
+ python3 -m venv .venv
47
41
source .venv/bin/activate
42
+ python -m pip install pygithub
48
43
cat <<EOF | python >> ${GITHUB_OUTPUT}
49
44
import github
50
45
repo = github.Github("${{ github.token }}").get_repo("${{ github.repository }}")
65
60
- name : Run baseline
66
61
run : |
67
62
source .venv/bin/activate
63
+ python -m pip install -r repo/libcxx/utils/requirements.txt
68
64
baseline_commit=$(git -C repo merge-base ${{ steps.vars.outputs.pr_base }} ${{ steps.vars.outputs.pr_head }})
69
65
./repo/libcxx/utils/test-at-commit --git-repo repo --commit ${baseline_commit} -B build/baseline -- -sv -j1 --param optimization=speed ${{ steps.vars.outputs.benchmarks }}
70
66
You can’t perform that action at this time.
0 commit comments