Skip to content

Commit

Permalink
Merge pull request #7 from dangvansam/revert-6-feature/cicd
Browse files Browse the repository at this point in the history
Revert "update workflows"
  • Loading branch information
dangvansam authored Dec 11, 2024
2 parents d71feed + 7b1e954 commit 9a81e7f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:

build:

runs-on: ["ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "windows-latest", "windows-2022", "windows-2019", "macos-latest", "macos-13", "macos-12"]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python package

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Python environment with conda
run: |
pip install -e . && pip cache purge
- name: Test viettts CLI
run: |
viettts show-voices

0 comments on commit 9a81e7f

Please sign in to comment.