mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 18:24:18 +00:00
test exclude
This commit is contained in:
parent
54bcc167e1
commit
3570cb738a
2
.github/workflows/ignore.list
vendored
Normal file
2
.github/workflows/ignore.list
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
egs/librispeech/ASR/conformer_ctc/test_label_smoothing.py
|
||||
egs/librispeech/ASR/conformer_ctc/test_subsampling.py
|
9
.github/workflows/style_check.yml
vendored
9
.github/workflows/style_check.yml
vendored
@ -52,8 +52,13 @@ jobs:
|
||||
working-directory: ${{github.workspace}}
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
flake8 . --count --show-source --statistics
|
||||
flake8 .
|
||||
|
||||
while read -r line; do
|
||||
exclude_list=${exclude_list}" $line";
|
||||
done < .github/workflows/ignore.list
|
||||
|
||||
flake8 . --count --show-source --statistics --extend-exclude="${exclude_list}"
|
||||
flake8 . --extend-exclude="${exclude_list}"
|
||||
|
||||
- name: Run black
|
||||
shell: bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user