Skip to content

Commit 9d46bca

Browse files
authored
Update experimental-precommit.yml
update precommit test to include worker
1 parent f0d0f5e commit 9d46bca

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/experimental-precommit.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,33 @@ jobs:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install the project
2929
run: uv sync --all-extras --dev
30-
- name: Run Black.
30+
- name: Run Black (sst).
3131
uses: psf/black@stable
3232
with:
3333
options: "--check --verbose"
3434
src: "./src/webapp"
3535
version: "~= 22.0"
36-
- name: Using pylint
36+
- name: Using pylint (sst)
3737
run: |
3838
uv run pylint $(git ls-files './src/webapp/*.py') --errors-only
39-
- name: Test with pytest
39+
- name: Test with pytest (sst)
4040
run: |
4141
uv run coverage run -m pytest -v -s ./src/webapp/
42-
- name: Generate Coverage Report
42+
- name: Generate Coverage Report (sst)
43+
run: |
44+
uv run coverage report -m
45+
- name: Run Black (worker).
46+
uses: psf/black@stable
47+
with:
48+
options: "--check --verbose"
49+
src: "./src/worker"
50+
version: "~= 22.0"
51+
- name: Using pylint (worker)
52+
run: |
53+
uv run pylint $(git ls-files './src/worker/*.py') --errors-only
54+
- name: Test with pytest (worker)
55+
run: |
56+
uv run coverage run -m pytest -v -s ./src/worker/
57+
- name: Generate Coverage Report (worker)
4358
run: |
4459
uv run coverage report -m

0 commit comments

Comments
 (0)