File tree 3 files changed +2
-13
lines changed
3 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,10 @@ jobs:
17
17
steps :
18
18
- name : Checkout code
19
19
uses : actions/checkout@v4
20
-
21
20
- name : Set up Python 3.10
22
21
uses : actions/setup-python@v5
23
22
with :
24
23
python-version : " 3.10"
25
-
26
24
-
uses :
cucumber/[email protected]
27
25
with :
28
26
working-directory : " python"
Original file line number Diff line number Diff line change @@ -51,47 +51,36 @@ jobs:
51
51
python-version : " 3.10"
52
52
steps :
53
53
- uses : actions/checkout@v4
54
-
55
54
- name : Set up Python ${{ matrix.python-version }}
56
55
uses : actions/setup-python@v5
57
56
with :
58
57
python-version : ${{ matrix.python-version }}
59
-
60
58
- name : Get full Python version
61
59
id : full-python-version
62
60
run : echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
63
-
64
61
- name : Bootstrap poetry
65
62
run : |
66
63
curl -sL https://install.python-poetry.org | python - -y ${{ matrix.bootstrap-args }}
67
-
68
64
- name : Update PATH
69
65
if : ${{ matrix.os != 'windows-latest' }}
70
66
run : echo "$HOME/.local/bin" >> $GITHUB_PATH
71
-
72
67
- name : Update Path for Windows
73
68
if : ${{ matrix.os == 'windows-latest' }}
74
69
run : echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH
75
-
76
70
- name : Configure poetry
77
71
run : poetry config virtualenvs.in-project true
78
-
79
72
- name : Set up cache
80
73
uses : actions/cache@v4
81
74
id : cache
82
75
with :
83
76
path : .venv
84
77
key : venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
85
-
86
78
- name : Ensure cache is healthy
87
79
if : steps.cache.outputs.cache-hit == 'true'
88
80
run : timeout 10s poetry rupoen pip --version || rm -rf .venv
89
-
90
81
- name : Install dependencies
91
82
run : poetry install
92
-
93
83
- name : Install pytest plugin
94
84
run : poetry run pip install pytest-github-actions-annotate-failures
95
-
96
85
- name : Run pytest
97
86
run : poetry run python -m pytest -p no:sugar -q tests/
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7
7
8
8
## [ Unreleased]
9
+ ### Fixed
10
+ - [ Python] Release process didn't release to pypi correctly
9
11
10
12
## [ 18.0.0] - 2024-10-24
11
13
### Changed
You can’t perform that action at this time.
0 commit comments