Skip to content

Commit 747fb4b

Browse files
committed
Fix: CI workflow - Correct poetry installation order and path persistence
1 parent 7421c67 commit 747fb4b

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v6.0.2
14-
15-
- name: Set up Python 3.14
16-
uses: actions/setup-python@v6
17-
with:
18-
python-version: "3.14"
19-
cache: "poetry"
13+
- uses: actions/checkout@v4
2014

2115
- name: Install Poetry
2216
run: |
2317
curl -sSL https://install.python-poetry.org | python3 -
24-
export PATH="$HOME/.local/bin:$PATH"
18+
echo "$HOME/.local/bin" >> $GITHUB_PATH
19+
20+
- name: Set up Python 3.12
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: "3.12"
24+
cache: "poetry"
2525

2626
- name: Install dependencies
2727
run: poetry install
@@ -33,3 +33,4 @@ jobs:
3333
3434
- name: Run tests with coverage
3535
run: poetry run pytest --cov=src --cov-report=xml
36+

0 commit comments

Comments
 (0)