Skip to content

Commit a9724fb

Browse files
committed
Updating ci file
1 parent 3f9a73a commit a9724fb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ jobs:
3838
- name: Lint with flake8
3939
run: |
4040
# Stop the build if there are Python syntax errors or undefined names
41-
flake8 src/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
41+
flake8 dataset/ model/ inference/ scripts/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
4242
# Exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
43-
flake8 src/ tests/ --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
43+
flake8 dataset/ model/ inference/ scripts/ tests/ --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics
4444
4545
- name: Type check with mypy
46-
run: mypy src/audio_processing_ai/ --ignore-missing-imports --no-error-summary
46+
run: mypy dataset/ model/ inference/ scripts/ --ignore-missing-imports --no-error-summary
4747

4848
- name: Format check with black
49-
run: black --check src/ tests/
49+
run: black --check dataset/ model/ inference/ scripts/ tests/
5050

5151
- name: Import sort check with isort
52-
run: isort --check-only src/ tests/
52+
run: isort --check-only dataset/ model/ inference/ scripts/ tests/
5353

5454
- name: Test with pytest
55-
run: pytest tests/ -v --cov=src/audio_processing_ai --cov-report=xml
55+
run: pytest tests/ -v --cov=dataset --cov=model --cov=inference --cov-report=xml
5656

5757
- name: Upload coverage to Codecov
5858
if: matrix.python-version == '3.9'
@@ -122,4 +122,4 @@ jobs:
122122
run: python predict.py --help
123123

124124
- name: Test threshold_sweep.py import
125-
run: python -c "import sys; sys.path.append('src/audio_processing_ai/scripts'); import threshold_sweep; print('threshold_sweep imports successfully')"
125+
run: python -c "import sys; sys.path.append('scripts'); import threshold_sweep; print('threshold_sweep imports successfully')"

0 commit comments

Comments
 (0)