Skip to content

Commit a001cf1

Browse files
committed
Run linters in same step as install deps
1 parent 69d85ce commit a001cf1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
python -m pip install --upgrade pip
3333
python -m pip install poetry
3434
poetry install
35+
poetry build
36+
chmod +x conf/run_linters.sh
37+
conf/run_linters.sh
3538
# Linting is done in the run_linters.sh script
3639

3740
- name: Prep tests
@@ -48,12 +51,11 @@ jobs:
4851
# conf/run_tests.sh
4952
# echo "--------- UT report ---------"; cat build/xunit*.xml
5053
# echo "---------Coverage report ---------"; cat build/coverage*.xml
51-
- name: Run linters
52-
working-directory: .
53-
run: |
54-
. venv/bin/activate
55-
chmod +x conf/run_linters.sh
56-
conf/run_linters.sh
54+
# - name: Run linters
55+
# working-directory: .
56+
# run: |
57+
# chmod +x conf/run_linters.sh
58+
# conf/run_linters.sh
5759
#- name: Cache SonarQube packages
5860
# uses: actions/cache@v4
5961
# with:

0 commit comments

Comments
 (0)