mirror of https://github.com/coqui-ai/TTS.git
Update data_tests.yml
This commit is contained in:
parent
69a229ff97
commit
74351f69cd
|
@ -9,53 +9,34 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: A job to measure energy
|
name: A job to measure energy
|
||||||
steps:
|
steps:
|
||||||
- name: Hello world action step
|
- uses: actions/checkout@v4
|
||||||
id: hello
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: koenhagen/measure-energy-action@v0.2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
what-to-test: sleep 60
|
python-version: ${{ matrix.python-version }}
|
||||||
# Use the output from the `hello` step
|
architecture: x64
|
||||||
- name: Get the output time
|
cache: 'pip'
|
||||||
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
cache-dependency-path: 'requirements*'
|
||||||
# measure-energy:
|
- name: check OS
|
||||||
# runs-on: ubuntu-latest
|
run: cat /etc/os-release
|
||||||
# name: Run power usage check
|
- name: set ENV
|
||||||
# steps:
|
run: export TRAINER_TELEMETRY=0
|
||||||
# - run: sar -u 1 240 -o test.txt
|
- name: Install dependencies
|
||||||
# - run: cat test.txt
|
run: |
|
||||||
# test:
|
sudo apt-get update
|
||||||
# runs-on: ubuntu-latest
|
sudo apt-get install -y --no-install-recommends git make gcc
|
||||||
# strategy:
|
make system-deps
|
||||||
# fail-fast: false
|
- name: Install/upgrade Python setup deps
|
||||||
# matrix:
|
run: python3 -m pip install --upgrade pip setuptools wheel
|
||||||
# python-version: ["3.11"]
|
- name: Replace scarf urls
|
||||||
# experimental: [false]
|
run: |
|
||||||
# steps:
|
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
|
||||||
# - uses: actions/checkout@v3
|
- name: Install TTS
|
||||||
# - name: Set up Python ${{ matrix.python-version }}
|
run: |
|
||||||
# uses: actions/setup-python@v4
|
python3 -m pip install .[all]
|
||||||
# with:
|
python3 setup.py egg_info
|
||||||
# python-version: ${{ matrix.python-version }}
|
|
||||||
# architecture: x64
|
- name: Measure unit test energy
|
||||||
# cache: 'pip'
|
uses: koenhagen/measure-energy-action@v0.4
|
||||||
# cache-dependency-path: 'requirements*'
|
with:
|
||||||
# - name: check OS
|
what-to-test: make data_tests
|
||||||
# run: cat /etc/os-release
|
|
||||||
# - name: set ENV
|
|
||||||
# run: export TRAINER_TELEMETRY=0
|
|
||||||
# - name: Install dependencies
|
|
||||||
# run: |
|
|
||||||
# sudo apt-get update
|
|
||||||
# sudo apt-get install -y --no-install-recommends git make gcc
|
|
||||||
# make system-deps
|
|
||||||
# - name: Install/upgrade Python setup deps
|
|
||||||
# run: python3 -m pip install --upgrade pip setuptools wheel
|
|
||||||
# - name: Replace scarf urls
|
|
||||||
# run: |
|
|
||||||
# sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
|
|
||||||
# - name: Install TTS
|
|
||||||
# run: |
|
|
||||||
# python3 -m pip install .[all]
|
|
||||||
# python3 setup.py egg_info
|
|
||||||
# - name: Unit tests
|
|
||||||
# run: make data_tests
|
|
||||||
|
|
Loading…
Reference in New Issue