mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-05 18:09:22 +08:00
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -2,9 +2,9 @@ name: Test Package
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # запуск вручную
|
workflow_dispatch: # запуск вручную
|
||||||
push:
|
#push:
|
||||||
branches:
|
# branches:
|
||||||
- master # или любая тестовая ветка
|
# - master # или любая тестовая ветка
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest]
|
||||||
python-version: [3.8,3.9,3.10,3.11,3.12,3.13]
|
python-version: ["3.8","3.9","3.10","3.11","3.12","3.13"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install hatchling pytest
|
pip install build hatchling pytest
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: python -m build --wheel --outdir dist
|
run: python -m build --wheel --outdir dist
|
||||||
|
|||||||
Reference in New Issue
Block a user