Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5df511

Browse files
author
Mathieu Dupuy
committed
Merge branch '3.10' into logging3
2 parents 47ace8c + 5ca18fe commit d5df511

File tree

300 files changed

+20418
-17746
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+20418
-17746
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
apt_dependencies: hunspell hunspell-fr-comprehensive
2121
command: 'pospell -p dict -l fr_FR $CHANGED_PO_FILES'
2222
- name: Longueur des lignes
23-
package: powrap
24-
apt_dependencies: gettext
25-
command: 'powrap --check --quiet --diff $CHANGED_PO_FILES'
23+
command: 'awk ''{if (length($0) > 80 && length(gensub(/[^ ]/, "", "g")) > 1) {print FILENAME ":" FNR, "line too long:", $0; ERRORS+=1}} END {if (ERRORS>0) {exit 1}}'' $CHANGED_PO_FILES'
2624
- name: Grammaire
2725
package: padpo
2826
command: 'padpo -i $CHANGED_PO_FILES 2>&1 | grep -v -Ff padpo.ignore'
@@ -42,9 +40,13 @@ jobs:
4240
python-version: '3.9'
4341
- name: Install ${{ matrix.tool.package }}
4442
run: |
45-
[ -n "${{ matrix.tool.apt_dependencies }}" ] && sudo apt-get update && sudo apt-get install -y ${{ matrix.tool.apt_dependencies }}
46-
python -m pip install --upgrade pip setuptools wheel
47-
python -m pip install ${{ matrix.tool.package }}
43+
if [ -n "${{ matrix.tool.apt_dependencies }}" ]; then
44+
sudo apt-get update && sudo apt-get install -y ${{ matrix.tool.apt_dependencies }}
45+
fi
46+
if [ -n "${{ matrix.tool.package }}" ]; then
47+
python -m pip install --upgrade pip setuptools wheel
48+
python -m pip install ${{ matrix.tool.package }}
49+
fi
4850
- name: Run ${{ matrix.tool.package }}
4951
env:
5052
ADDED_FILES: ${{ join(fromJSON(steps.changed_files.outputs.added), ' ') }}

0 commit comments

Comments
 (0)