Skip to content

Commit ea70181

Browse files
committed
Lint with Bazel
1 parent a8ddb33 commit ea70181

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
matrix:
2424
os: [ubuntu-24.04]
2525
include:
26+
- name: Lint repo
27+
target: bazel lint --fixes=false ...
2628
- name: Bandit tests
27-
target: test-bandit
29+
target: make -C tests test-bandit
2830
- name: Formatting
29-
target: test-format
30-
- name: Ruff lint tests
31-
target: test-ruff
31+
target: make -C tests test-format
3232
- name: Python unit tests
3333
target: test-unit
3434
- name: mypy tests
35-
target: test-mypy-gpl
35+
target: make -C tests test-mypy-gpl
3636
steps:
3737
- name: Remove unnecessary build tools
3838
run: |
@@ -100,7 +100,4 @@ jobs:
100100
sudo apt-get install ksh libpango1.0-dev librrd-dev libldap2-dev libsasl2-dev libkrb5-dev libglib2.0-dev gettext "^g\+\+-14$"
101101
make .venv
102102
- name: Run ${{ matrix.name }}
103-
env:
104-
TEST_TARGETS: ${{ matrix.target }}
105-
run: |
106-
make -C tests $TEST_TARGETS
103+
run: ${{ matrix.target }}

0 commit comments

Comments
 (0)