Skip to content

Commit e6a2ab4

Browse files
Install dependencies for linting
1 parent 0e4f7bb commit e6a2ab4

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

.github/workflows/stage-2-test.yaml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,27 @@ jobs:
9191
name: "Linting"
9292
runs-on: ubuntu-latest
9393
timeout-minutes: 5
94+
9495
steps:
9596
- name: "Checkout code"
9697
uses: actions/checkout@v4
97-
- name: "Run linting"
98-
run: |
99-
make test-lint
100-
- name: "Save the linting result"
101-
run: |
102-
echo "Nothing to save"
98+
99+
- name: Install poetry
100+
run: pipx install poetry
101+
102+
- name: Set up Python
103+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
104+
with:
105+
python-version: "${{inputs.python_version}}"
106+
cache: poetry
107+
cache-dependency-path: ./poetry.lock
108+
109+
- name: Install dependencies
110+
run: make dependencies
111+
112+
- name: Run linting
113+
run: make test-lint
114+
103115
perform-static-analysis:
104116
name: "Perform static analysis"
105117
needs: [test]

0 commit comments

Comments
 (0)