mirror of https://github.com/coqui-ai/TTS.git
ci: allow testing out trainer/coqpit branches before release (#168)
This commit is contained in:
parent
312593e119
commit
9035e36b1f
|
@ -6,6 +6,16 @@ on:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
trainer_branch:
|
||||||
|
description: "Branch of Trainer to test"
|
||||||
|
required: false
|
||||||
|
default: "main"
|
||||||
|
coqpit_branch:
|
||||||
|
description: "Branch of Coqpit to test"
|
||||||
|
required: false
|
||||||
|
default: "main"
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -30,6 +40,14 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y --no-install-recommends git make gcc
|
sudo apt-get install -y --no-install-recommends git make gcc
|
||||||
make system-deps
|
make system-deps
|
||||||
|
- name: Install custom Trainer and/or Coqpit if requested
|
||||||
|
run: |
|
||||||
|
if [[ -n "${{ github.event.inputs.trainer_branch }}" ]]; then
|
||||||
|
uv add git+https://github.com/idiap/coqui-ai-Trainer --branch ${{ github.event.inputs.trainer_branch }}
|
||||||
|
fi
|
||||||
|
if [[ -n "${{ github.event.inputs.coqpit_branch }}" ]]; then
|
||||||
|
uv add git+https://github.com/idiap/coqui-ai-coqpit --branch ${{ github.event.inputs.coqpit_branch }}
|
||||||
|
fi
|
||||||
- name: Integration tests
|
- name: Integration tests
|
||||||
run: |
|
run: |
|
||||||
resolution=highest
|
resolution=highest
|
||||||
|
|
|
@ -6,6 +6,16 @@ on:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
trainer_branch:
|
||||||
|
description: "Branch of Trainer to test"
|
||||||
|
required: false
|
||||||
|
default: "main"
|
||||||
|
coqpit_branch:
|
||||||
|
description: "Branch of Coqpit to test"
|
||||||
|
required: false
|
||||||
|
default: "main"
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -30,6 +40,14 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y --no-install-recommends git make gcc
|
sudo apt-get install -y --no-install-recommends git make gcc
|
||||||
make system-deps
|
make system-deps
|
||||||
|
- name: Install custom Trainer and/or Coqpit if requested
|
||||||
|
run: |
|
||||||
|
if [[ -n "${{ github.event.inputs.trainer_branch }}" ]]; then
|
||||||
|
uv add git+https://github.com/idiap/coqui-ai-Trainer --branch ${{ github.event.inputs.trainer_branch }}
|
||||||
|
fi
|
||||||
|
if [[ -n "${{ github.event.inputs.coqpit_branch }}" ]]; then
|
||||||
|
uv add git+https://github.com/idiap/coqui-ai-coqpit --branch ${{ github.event.inputs.coqpit_branch }}
|
||||||
|
fi
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: |
|
run: |
|
||||||
resolution=highest
|
resolution=highest
|
||||||
|
|
Loading…
Reference in New Issue