Skip to content

Commit e73984e

Browse files
committed
fix: install poetry to specific path in CI
Signed-off-by: Ray Huang <bjhuang@cs.nycu.edu.tw>
1 parent ef7625a commit e73984e

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/pylint.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,24 @@ jobs:
1212
python-version: ["3.9", "3.10"]
1313
steps:
1414
- uses: actions/checkout@v4
15+
1516
- name: Set up Python ${{ matrix.python-version }}
1617
uses: actions/setup-python@v3
1718
with:
1819
python-version: ${{ matrix.python-version }}
19-
- uses: snok/install-poetry@v1
20+
21+
- name: Install Poetry
22+
uses: snok/install-poetry@v1
23+
with:
24+
virtualenvs-create: true
25+
virtualenvs-in-project: true
26+
virtualenvs-path: .venv
27+
installer-parallel: true
28+
2029
- name: Install dependencies
2130
run: |
2231
poetry install --no-interaction
32+
2333
- name: Analysing the code with pylint
2434
run: |
2535
source .venv/bin/activate

0 commit comments

Comments
 (0)