Skip to content

Commit

Permalink
switches to build package in action. fix rt60 test.
Browse files Browse the repository at this point in the history
  • Loading branch information
fakufaku committed Apr 23, 2024
1 parent d321506 commit a4a29aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ jobs:
python -m pip install -e .
- name: Test with pytest
run: |
pip install -U pytest setuptools wheel twine
pip install -U pytest setuptools build wheel twine
pytest
- name: Test the universal wheels
if: matrix.os == 'ubuntu-latest'
run: |
python setup.py sdist
python -m build --sdist
twine check dist/*
- name: Test the binary wheels
if: matrix.os != 'ubuntu-latest'
run: |
python setup.py bdist_wheel
python -m build bdist_wheel
twine check dist/*
- name: Publish sdist to pypi
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion pyroomacoustics/tests/test_rt60.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pyroomacoustics as pra

eps = 1e-10
eps = 1e-6
room_dim = [10, 7.5, 3.5] # meters
fs = 16000

Expand Down

0 comments on commit a4a29aa

Please sign in to comment.