1. 06 Apr, 2021 1 commit
    • moto's avatar
      Do not print CPU info before running tests (#1434) · 52e2943c
      moto authored
      This code was added as a part of investigation of inconsistent behavior
      of file-like object support. Now the investigation is done and this code
      does not provide much insight yet adding a bunch of lines to the log, so
      this PR removes it.
      52e2943c
  2. 03 Feb, 2021 1 commit
  3. 12 Jan, 2021 1 commit
  4. 08 Jan, 2021 1 commit
  5. 23 Sep, 2020 1 commit
  6. 05 Aug, 2020 1 commit
    • moto's avatar
      [CI] Run unit test with non-editable installation (#845) · 9ba02d5b
      moto authored
      We have been running unit test with editable installation. (i.e. `python setup.py develop`), with which we missed issues like #842. 
      
      This CC makes installation in CI non-editable, and change test directory structure so that the source code will not shadow the installed version of `torchaudio`. With simple `pytest test`, `pytest` modifies `sys.path` and prepend checked out repository, which shadows the installed version.
      
      To remedy this, the whole test suites has been moved from `./test` to `./test/torchaudio_unittest`. This adds nice module structure to our test code and we can do absolute import in each test module, which makes it possible again to run test with `python -m unittest torchaudio_unittest/XXX.py`
      
      This change does not affect the regular development process (`python setup.py develop` && `pytest test`)
      9ba02d5b
  7. 31 Jul, 2020 1 commit
    • moto's avatar
      [CI] Make *nix unit test fail if C++ extension is not available (#847) · 3bab2b29
      moto authored
      Currently our test suites automatically/silently skip tests on C++ extension
      if it is not available. This is nice in local env, but in CI these tests should be
      enforced and reported as failure if C++ extension is not available.
      
      This PR adds switch for making tests fail if C++ extension is not available,
      and make CI for *nix fail if that's the case.
      3bab2b29
  8. 29 Jul, 2020 1 commit
    • moto's avatar
      Run tests in parallel with pytest-xdist (#807) · 1ecbc249
      moto authored
      Currently macOS CI job takes twice the time of linux unit tests.
      This PR uses `pytest-xdist` to run unit tests in parallel on macOS CI job. 
      
      Interestingly applying the same technique to linux unit tests make the test execution longer.
      So the change is only applied to macOS.
      
      macOS 27 mins -> 17 mins 😸
      linux 14 mins -> 1 hours 😾
      1ecbc249
  9. 01 Jul, 2020 1 commit
    • moto's avatar
      Use cmake for third party (#753) · ea42513f
      moto authored
      * Use cmake for third party
      
      * Apply patch to libmad
      
      * Update gitignore
      
      * Update docker test image
      ea42513f
  10. 26 Jun, 2020 1 commit
  11. 28 May, 2020 1 commit
    • moto's avatar
      Separate style check from unit test (#664) · 6c3cc16d
      moto authored
      * Separate style check from unit test
      
      * TEST flake8 fail
      
      * TEST clang-format fail
      
      * Revert "TEST flake8 fail"
      
      This reverts commit 88d90185cefe294b9a662129a05c2e26a9844fe4.
      
      * Revert "TEST clang-format fail"
      
      This reverts commit 93517d1ccba650a6ccd813268fd73a4fd63b252c.
      6c3cc16d
  12. 27 May, 2020 1 commit
    • moto's avatar
      Self-contain codecs library (#625) · d3c83eaa
      moto authored
      * Clean up extension build mechanism and extension location
      
      * Add back the switch to depend on external sox
      
      * Remove print
      
      * Fix
      d3c83eaa
  13. 04 May, 2020 1 commit
    • peterjc123's avatar
      Enable unittest jobs for windows (#604) · 4a24ed72
      peterjc123 authored
      
      
      * Turn on tests when building through conda-build
      
      * skip one failling test on windows.
      
      * Switch to unittest
      
      * Fix conda env activation
      
      * add linux only condition
      
      * Fix librosa installation
      
      * conda-forge channel as a fallback
      
      * Revert "conda-forge channel as a fallback"
      
      This reverts commit 8c15f6638e34792640a3de3e057d9c2995425180.
      
      * Try the pytorch way
      
      * Use conda-forge
      
      * Disable conda-forge
      
      * Install future at setup env
      
      * Move linux unittest CI job tools to dedicated directory
      
      * Restore Linux scripts and move the updated souces to a new subdir
      
      * Add back future
      
      * Remove comments
      Co-authored-by: default avatarVincent Quenneville-Belair <vincentqb@gmail.com>
      Co-authored-by: default avatarmoto <855818+mthrok@users.noreply.github.com>
      4a24ed72
  14. 02 May, 2020 1 commit
    • moto's avatar
      Tweak CCI config (#603) · be18755b
      moto authored
      * Bust cache weekly
      
      * Rename directory for utility
      
      * Show 20 slowest tests
      
      * fixup! Show 20 slowest tests
      be18755b
  15. 29 Apr, 2020 2 commits
  16. 25 Apr, 2020 1 commit
  17. 24 Apr, 2020 2 commits