Skip to content

Commit

Permalink
fix(workflow): make ci happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jul 10, 2024
1 parent 34a01e4 commit 2dc1a6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pull-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Set up Python
uses: actions/setup-python@v5

- name: Install Black
run: pip install "black[jupyter]"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install Dependents
run: |
sudo apt-get install -y portaudio19-dev python3-pyaudio
Expand Down
4 changes: 2 additions & 2 deletions tests/#521.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
if wav is None:
continue
logger.info("iter %d index %d len %d", i, j, len(wav))
if len(wav) == 12032:
if len(wav) == 12000:
continue
if not has_finished[j]:
has_finished[j] = True
logger.warning(
"iter %d index %d finished with non-12032 len %d", i, j, len(wav)
"iter %d index %d finished with non-12000 len %d", i, j, len(wav)
)
else:
logger.warning(
Expand Down

0 comments on commit 2dc1a6a

Please sign in to comment.