- limit env scope to the jobs
@@ -1,3 +1,4 @@
+
name: Translation tests
on:
@@ -11,9 +12,6 @@ on:
- 'custom_components/tuya_local/translations/*.json'
- 'custom_components/tuya_local/icons.json'
-env:
- UV_SYSTEM_PYTHON 1
-
jobs:
tests:
runs-on: ubuntu-latest
@@ -27,6 +25,9 @@ jobs:
matrix:
python-version: ['3.13']
+ env:
+ UV_SYSTEM_PYTHON: 1
steps:
- uses: actions/checkout@v4
with:
@@ -2,9 +2,6 @@ name: Linting
on: [push, pull_request]
lint:
@@ -12,6 +9,9 @@ jobs:
checks: write
contents: read
pull-requests: write
@@ -11,9 +11,6 @@ on:
- '**.py'
- 'requirements-dev.txt'
@@ -25,6 +22,9 @@ jobs:
@@ -24,7 +24,7 @@ jobs:
env:
PYTHONPATH: .