Skip to content

Commit 8e5691c

Browse files
committed
workflow stuff
1 parent a5a3d5f commit 8e5691c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
steps:
1212
- name: Checkout working copy
1313
uses: actions/checkout@v4
14+
with:
15+
submodules: true
16+
fetch-depth: 0
1417
- name: ruff check
1518
uses: chartboost/ruff-action@v1
1619
- name: ruff format
@@ -28,8 +31,11 @@ jobs:
2831
id: install_mypy
2932
if: ${{ always() && steps.setup_python.conclusion == 'success' }}
3033
run: |
34+
tree
35+
ls -d uap-core/.git
36+
3137
python -mpip install --upgrade pip
32-
python -mpip install mypy types-PyYaml
38+
python -mpip install mypy types-PyYaml ./ua-parser-builtins
3339
- name: mypy
3440
if: ${{ always() && steps.install_mypy.conclusion == 'success' }}
3541
run: mypy
@@ -101,6 +107,7 @@ jobs:
101107
uses: actions/checkout@v4
102108
with:
103109
submodules: true
110+
fetch-tags: true
104111
- name: Set up Python ${{ matrix.python-version }}
105112
uses: actions/setup-python@v5
106113
with:
@@ -115,6 +122,7 @@ jobs:
115122
sudo apt install libyaml-dev
116123
fi
117124
- run: python -mpip install pytest pyyaml
125+
- run: python -mpip install ./ua-parser-builtins
118126
# install rs accelerator if available, ignore if not
119127
- run: python -mpip install ua-parser-rs || true
120128
# re2 is basically impossible to install from source so don't

0 commit comments

Comments
 (0)