Ali Khokhar commited on
Update tests.yml
Browse files
.github/workflows/tests.yml
CHANGED
|
@@ -16,14 +16,7 @@ jobs:
|
|
| 16 |
with:
|
| 17 |
ref: ${{ github.head_ref || github.ref_name }}
|
| 18 |
fetch-depth: 1
|
| 19 |
-
|
| 20 |
-
- name: Install uv
|
| 21 |
-
uses: astral-sh/setup-uv@v7
|
| 22 |
-
with:
|
| 23 |
-
version: "latest"
|
| 24 |
-
enable-cache: true
|
| 25 |
-
cache-python: true
|
| 26 |
-
|
| 27 |
- name: "Fail on type: ignore (no suppressions allowed)"
|
| 28 |
run: |
|
| 29 |
if grep -rE '# type: ignore|# ty: ignore' --include='*.py' . --exclude-dir=.venv --exclude-dir=.git; then
|
|
@@ -32,6 +25,13 @@ jobs:
|
|
| 32 |
fi
|
| 33 |
exit 0
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
- name: Type check
|
| 36 |
run: uv run ty check
|
| 37 |
|
|
|
|
| 16 |
with:
|
| 17 |
ref: ${{ github.head_ref || github.ref_name }}
|
| 18 |
fetch-depth: 1
|
| 19 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
- name: "Fail on type: ignore (no suppressions allowed)"
|
| 21 |
run: |
|
| 22 |
if grep -rE '# type: ignore|# ty: ignore' --include='*.py' . --exclude-dir=.venv --exclude-dir=.git; then
|
|
|
|
| 25 |
fi
|
| 26 |
exit 0
|
| 27 |
|
| 28 |
+
- name: Install uv
|
| 29 |
+
uses: astral-sh/setup-uv@v7
|
| 30 |
+
with:
|
| 31 |
+
version: "latest"
|
| 32 |
+
enable-cache: true
|
| 33 |
+
cache-python: true
|
| 34 |
+
|
| 35 |
- name: Type check
|
| 36 |
run: uv run ty check
|
| 37 |
|