From 0263ca7f66cefd2c9b6fb2ad1a8b6543056e1744 Mon Sep 17 00:00:00 2001 From: Facebook Community Bot <6422482+facebook-github-bot@users.noreply.github.com> Date: Tue, 27 Jul 2021 13:18:23 -0700 Subject: [PATCH] Re-sync with internal repository --- .circleci/test/test_sort_yaml.py | 14 ++++++++++++++ .../unittest/linux/scripts/environment.yml | 17 +++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100755 .circleci/test/test_sort_yaml.py create mode 100644 .circleci/unittest/linux/scripts/environment.yml diff --git a/.circleci/test/test_sort_yaml.py b/.circleci/test/test_sort_yaml.py new file mode 100755 index 0000000000..dc6db481dd --- /dev/null +++ b/.circleci/test/test_sort_yaml.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 + +""" +To compare new version with previous: + + ./regenerate.sh + meld <(git show HEAD:./config.yml | ./sort-yaml.py) <(cat config.yml | ./sort-yaml.py) +""" + + +import sys +import yaml + +sys.stdout.write(yaml.dump(yaml.load(sys.stdin, Loader=yaml.FullLoader), sort_keys=True)) diff --git a/.circleci/unittest/linux/scripts/environment.yml b/.circleci/unittest/linux/scripts/environment.yml new file mode 100644 index 0000000000..4315a2205b --- /dev/null +++ b/.circleci/unittest/linux/scripts/environment.yml @@ -0,0 +1,17 @@ +# a comment for these trying times +channels: + - conda-forge + - defaults +dependencies: + - flake8 + - numpy >= 1.11 + - pytest + - pytest-cov + - codecov + - librosa>=0.8.0 + - llvmlite==0.31 # See https://github.com/pytorch/audio/pull/766 + - pip + - pip: + - kaldi-io + - scipy + - parameterized