File tree 4 files changed +80
-38
lines changed
4 files changed +80
-38
lines changed Original file line number Diff line number Diff line change 46
46
python -c 'import pendulum._pendulum'
47
47
48
48
- name : Run benchmarks
49
- uses : CodSpeedHQ/action@v1
49
+ uses : CodSpeedHQ/action@v3
50
50
with :
51
51
token : ${{ secrets.CODSPEED_TOKEN }}
52
52
run : pytest tests/ --codspeed
Original file line number Diff line number Diff line change 54
54
55
55
- name : Install poetry
56
56
run : |
57
- curl -fsS https://install.python-poetry.org | python - --preview -y
58
-
59
- - name : Update PATH
60
- if : ${{ matrix.os != 'Windows' }}
61
- run : echo "$HOME/.local/bin" >> $GITHUB_PATH
62
-
63
- - name : Update Path for Windows
64
- if : ${{ matrix.os == 'Windows' }}
65
- run : echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH
57
+ pipx install poetry>=2
66
58
67
59
- name : Configure poetry
68
60
run : poetry config virtualenvs.in-project true
90
82
91
83
- name : Uninstall typing dependencies
92
84
# This ensures pendulum runs without typing_extensions installed
93
- run : poetry install --only main --only test --only build --sync --no-root -vvv
85
+ run : poetry sync --only main --only test --only build --no-root -vvv
94
86
95
87
- name : Test Pure Python
96
88
run : |
You can’t perform that action at this time.
0 commit comments