Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/test_package_macos-13.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: macos-13
on:
workflow_call:
inputs:
python-version:
required: true
type: string
secrets:
TEST_PYPI_API_TOKEN:
required: true
jobs:
package:
uses: ./.github/workflows/test_package_main.yaml
with:
# macos-13: x86_64, macos-latest: arm
# See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners
os: macos-13
python-version: ${{ inputs.python-version }}
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_macos-13_python-3.10.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: macos-13/3.10
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_macos-13.yaml
with:
python-version: "3.10"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_macos-13_python-3.11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: macos-13/3.11
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_macos-13.yaml
with:
python-version: "3.11"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_macos-13_python-3.12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: macos-13/3.12
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_macos-13.yaml
with:
python-version: "3.12"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_macos-13_python-3.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: macos-13/3.8
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_macos-13.yaml
with:
python-version: "3.8"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_macos-13_python-3.9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: macos-13/3.9
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_macos-13.yaml
with:
python-version: "3.9"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: test package
on:
push:
branches:
- main
pull_request:
branches:
- main
- develop
workflow_call:
inputs:
os:
required: true
type: string
python-version:
required: true
type: string
secrets:
TEST_PYPI_API_TOKEN:
required: true
jobs:
build:
name: Run tests with pytest
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ inputs.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ inputs.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -42,13 +42,14 @@ jobs:
run: |
pytest -vvv -n 16 tests/regression/
- name: Upload coverage to codecov
if: matrix.python-version == '3.8' && matrix.os == 'ubuntu-latest'
if: inputs.python-version == '3.8' && inputs.os == 'ubuntu-latest'
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
lint:
name: Run linters
runs-on: ubuntu-latest
if: inputs.python-version == '3.8' && inputs.os == 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -76,5 +77,5 @@ jobs:
id-token: write
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && inputs.python-version == '3.9' && inputs.os == 'ubuntu-latest'
uses: ./.github/workflows/upload_package.yaml
18 changes: 18 additions & 0 deletions .github/workflows/test_package_ubuntu-latest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: macos-13
on:
workflow_call:
inputs:
python-version:
required: true
type: string
secrets:
TEST_PYPI_API_TOKEN:
required: true
jobs:
package:
uses: ./.github/workflows/test_package_main.yaml
with:
os: ubuntu-latest
python-version: ${{ inputs.python-version }}
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_ubuntu-latest_python-3.10.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ubuntu-latest/3.10
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_ubuntu-latest.yaml
with:
python-version: "3.10"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_ubuntu-latest_python-3.11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ubuntu-latest/3.11
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_ubuntu-latest.yaml
with:
python-version: "3.11"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_ubuntu-latest_python-3.12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ubuntu-latest/3.12
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_ubuntu-latest.yaml
with:
python-version: "3.12"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_ubuntu-latest_python-3.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ubuntu-latest/3.8
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_ubuntu-latest.yaml
with:
python-version: "3.8"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_ubuntu-latest_python-3.9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ubuntu-latest/3.9
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_ubuntu-latest.yaml
with:
python-version: "3.9"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/test_package_windows-latest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: windows-latest
on:
workflow_call:
inputs:
python-version:
required: true
type: string
secrets:
TEST_PYPI_API_TOKEN:
required: true
jobs:
package:
uses: ./.github/workflows/test_package_main.yaml
with:
os: windows-latest
python-version: ${{ inputs.python-version }}
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_windows-latest_python-3.11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: windows-latest/3.11
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_windows-latest.yaml
with:
python-version: "3.11"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_windows-latest_python-3.12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: windows-latest/3.12
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_windows-latest.yaml
with:
python-version: "3.12"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_windows-latest_python-3.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: windows-latest/3.8
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_windows-latest.yaml
with:
python-version: "3.8"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/test_package_windows-latest_python-3.9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: windows-latest/3.9
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
package:
uses: ./.github/workflows/test_package_windows-latest.yaml
with:
python-version: "3.9"
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# ssspy
[![Documentation Status](https://readthedocs.org/projects/sound-source-separation-python/badge/?version=latest)](https://sound-source-separation-python.readthedocs.io/en/latest/?badge=latest)
[![tests](https://github.com/tky823/ssspy/actions/workflows/test_package.yaml/badge.svg)](https://github.com/tky823/ssspy/actions/workflows/test_package.yaml)
[![codecov](https://codecov.io/gh/tky823/ssspy/branch/main/graph/badge.svg?token=IZ89MTV64G)](https://codecov.io/gh/tky823/ssspy)
[![codecov](https://codecov.io/gh/tky823/ssspy/branch/main/graph/badge.svg)](https://codecov.io/gh/tky823/ssspy)
[![Open in Spaces](https://huggingface.co/datasets/huggingface/badges/resolve/main/open-in-hf-spaces-sm.svg)](https://tky823-ssspy-demo.hf.space/)

A Python toolkit for sound source separation.

## Build Status
[![ubuntu-latest/3.9](https://github.com/tky823/ssspy/actions/workflows/test_package.yaml/badge.svg)](https://github.com/tky823/ssspy/actions/workflows/test_package.yaml)


## Installation
You can install by pip.
```shell
Expand Down
Loading