-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from ReadAlongs/master
It's time for a release
- Loading branch information
Showing
119 changed files
with
3,855 additions
and
1,656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
02babfb698a8dfbeb87f5be6ad21172eba82bc05 | ||
ee480fbd24c2d0b1730f5ae4a6be6c6bc842eb94 | ||
1862060ef717c05080c9b47497dc79328563b072 | ||
3416098be96c2e8efee5c5ce1e935711575d2e47 | ||
13435428e87005f168db210019759bf7578ec06f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: Run Tests | ||
on: | ||
- push | ||
- pull_request | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
# #no-ci in the commit log flags commit we don't want CI-validated | ||
if: ${{ !contains(github.event.head_commit.message, '#no-ci') }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: FedericoCarboni/setup-ffmpeg@v2 | ||
id: setup-ffmpeg | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.7" | ||
cache: "pip" | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
# Keep pip up to date | ||
python -m pip install --upgrade pip | ||
# Some dependencies are built using wheel | ||
pip install wheel | ||
# Install all Python dependencies in just one pip call, including Studio itself | ||
pip install -r requirements.txt \ | ||
-r requirements.dev.txt \ | ||
-r requirements.ci.txt \ | ||
-e . | ||
- name: Run tests | ||
run: | | ||
gunicorn readalongs.app:app --bind 0.0.0.0:5000 --daemon | ||
cd test && coverage run run.py prod && coverage xml | ||
- name: Nitpicking | ||
run: | | ||
# coding style: we want black compliance | ||
find . -name \*.py | xargs black --check | ||
# Legal check: make sure we don't have or introduce GPL dependencies | ||
if pip-licenses | grep -v 'Artistic License' | grep -v LGPL | grep GNU; then echo 'Please avoid introducing *GPL dependencies'; false; fi | ||
- uses: codecov/codecov-action@v3 | ||
with: | ||
directory: ./test | ||
token: ${{ secrets.CODECOV_TOKEN }} # optional but apparently makes upload more reliable | ||
fail_ci_if_error: false # too many upload errors to keep "true" | ||
|
||
test-on-windows: | ||
runs-on: windows-latest | ||
if: ${{ !contains(github.event.head_commit.message, '#no-ci') }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: FedericoCarboni/setup-ffmpeg@v2 | ||
id: setup-ffmpeg | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.7" | ||
cache: "pip" | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install wheel | ||
pip install -r requirements.txt ` | ||
-r requirements.dev.txt ` | ||
-r requirements.ci.txt ` | ||
-e . | ||
- name: Run tests on Windows | ||
run: cd test && python run.py prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[general] | ||
# Enable conventional commit linting | ||
contrib=contrib-title-conventional-commits | ||
|
||
# Ignore any data sent to gitlint via stdin (helpful on Windows) | ||
ignore-stdin=true | ||
|
||
# We don't require a body, just a title, even though a body is also a good idea | ||
ignore=body-is-missing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
[MASTER] | ||
# A lot of test cases depend on etree, let's allow pylint to load it | ||
extension-pkg-allow-list=lxml.etree | ||
# We use isort for sorting our imports, so nevermind what pylint thinks | ||
disable=wrong-import-order | ||
|
||
disable= | ||
# We use isort for sorting our imports, so nevermind what pylint thinks | ||
wrong-import-order, | ||
# I find the "unnecessary" else makes code more readable | ||
no-else-return, | ||
# We use single letter e for exception, f for file handles | ||
invalid-name | ||
|
||
# Add . to the PYTHONPATH so pylint knows test cases can import basic_test_case | ||
init-hook="import sys; sys.path.append('.')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.7" | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.7" | ||
jobs: | ||
post_install: | ||
- echo "Installing Studio itself in its current state" | ||
- which pip python | ||
- pip install -e . | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
configuration: docs/conf.py | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
install: | ||
- requirements: docs/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
cff-version: 1.2.0 | ||
message: >- | ||
If you use this software in a project of yours and write about it, please | ||
cite our SIGUL 2022 paper using the following citation data. | ||
title: ReadAlongs Studio | ||
url: https://github.com/ReadAlongs/Studio | ||
preferred-citation: | ||
type: conference-paper | ||
title: >- | ||
ReadAlong Studio: Practical Zero-Shot Text-Speech Alignment for Indigenous | ||
Language Audiobooks | ||
authors: | ||
- given-names: Patrick | ||
family-names: Littell | ||
email: [email protected] | ||
affiliation: National Research Council Canada | ||
- given-names: Eric | ||
family-names: Joanis | ||
email: [email protected] | ||
affiliation: National Research Council Canada | ||
- given-names: Aidan | ||
family-names: Pine | ||
email: [email protected] | ||
affiliation: National Research Council Canada | ||
- given-names: Marc | ||
family-names: Tessier | ||
email: [email protected] | ||
affiliation: National Research Council Canada | ||
- given-names: David | ||
family-names: Huggins-Daines | ||
email: [email protected] | ||
affiliation: Independent Researcher | ||
- given-names: Delasie | ||
family-names: Torkornoo | ||
email: [email protected] | ||
affiliation: Carleton University | ||
collection-title: Proceedings of SIGUL2022 @LREC2022 | ||
start: 23 | ||
end: 32 | ||
year: 2022 | ||
month: 6 | ||
publisher: | ||
name: European Language Resources Assiciation (ELRA) | ||
location: | ||
name: Marseille | ||
url: http://www.lrec-conf.org/proceedings/lrec2022/workshops/SIGUL/pdf/2022.sigul-1.4.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Command for launching the web API server for ReadAlongs-Studio on Heroku | ||
web: gunicorn -w 4 -k uvicorn.workers.UvicornWorker readalongs.web_api:web_api_app |
Oops, something went wrong.