Skip to content

Commit 74127ed

Browse files
Include linting configs and speed up dependency installs through uv
1 parent 8275b35 commit 74127ed

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
2+
# For more indocker-compose.tformation see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

44
name: Python application
55

@@ -10,13 +10,17 @@ on:
1010
- *.py
1111
- requirements.txt
1212
- requirements.in
13+
- .eslintrc
14+
- .pylintrc
1315
- .github/workflows/python-app.yml
1416
pull_request:
1517
branches: [master, develop]
1618
paths:
1719
- *.py
1820
- requirements.txt
1921
- requirements.in
22+
- .eslintrc
23+
- .pylintrc
2024
- .github/workflows/python-app.yml
2125

2226
jobs:
@@ -37,8 +41,8 @@ jobs:
3741
python-version: ${{ matrix.python-version }}
3842
- name: Install dependencies
3943
run: |
40-
python -m pip install --upgrade pip
41-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
44+
python -m pip install uv
45+
if [ -f requirements.txt ]; then uv pip install -r requirements.txt --system; fi
4246
- name: Lint with pylint
4347
run: |
4448
pylint conditional

0 commit comments

Comments
 (0)