1. 09 Nov, 2023 1 commit
  2. 19 Sep, 2023 1 commit
  3. 13 Jul, 2023 1 commit
    • Omkar Salpekar's avatar
      Linux CPU job should respect set Python version (#3477) · 86cb1e09
      Omkar Salpekar authored
      Summary:
      Reintroduce a conda environment within which we will do all deps installation, audio builds, and tests runs. This conda environment will use the python version set by the GHA job - previously this just defaulted to using the system 3.10 python which was default inside the container.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3477
      
      Reviewed By: mthrok
      
      Differential Revision: D47414572
      
      Pulled By: osalpekar
      
      fbshipit-source-id: 80760f82c7726205b29812d576e498db2a7a80a0
      86cb1e09
  4. 08 Jun, 2023 1 commit
    • moto's avatar
      Clean up CI scripts (#3407) · f0803152
      moto authored
      Summary:
      - Moving the unit test scripts from .circleci to .github
      - Remove docker file for unit test base
      - Use the Conda from Docker image in Linux jobs.
      
      Remaining follow-up items
      
      - Reuse the unittest script in Linux GPU job like done in Linux CPU job.
      
      The unit test script needs to be fixed to be used for Linux GPU job
      in new GHA workflow. Keeping it as a separate follow-up work item.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3407
      
      Differential Revision: D46498263
      
      Pulled By: mthrok
      
      fbshipit-source-id: d8256717a55bb4257151d819d3b2ebd453601eac
      f0803152
  5. 31 May, 2023 1 commit
  6. 23 May, 2023 1 commit
  7. 05 Jan, 2022 1 commit
  8. 20 Apr, 2021 1 commit
  9. 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
  10. 03 Feb, 2021 1 commit
  11. 12 Jan, 2021 1 commit
  12. 08 Jan, 2021 1 commit
  13. 23 Sep, 2020 1 commit
  14. 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
  15. 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
  16. 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
  17. 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
  18. 26 Jun, 2020 1 commit
  19. 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
  20. 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
  21. 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
  22. 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
  23. 29 Apr, 2020 2 commits
  24. 25 Apr, 2020 1 commit
  25. 24 Apr, 2020 2 commits