From 5b1045385dfe91cec5bc3de73000a3862060de7a Mon Sep 17 00:00:00 2001 From: kadirnar Date: Fri, 24 Nov 2023 17:59:30 +0300 Subject: [PATCH] Fix package installation and unittesting --- .github/workflows/package_testing.yml | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/package_testing.yml b/.github/workflows/package_testing.yml index ab1be93..3e34d84 100644 --- a/.github/workflows/package_testing.yml +++ b/.github/workflows/package_testing.yml @@ -58,22 +58,22 @@ jobs: pre-commit install pre-commit run --all-files - - name: Install PyTorch on Linux and Windows - if: > - matrix.operating-system == 'ubuntu-latest' || - matrix.operating-system == 'windows-latest' - run: > - pip install torch==${{ matrix.torch-version }}+cpu - -f https://download.pytorch.org/whl/torch_stable.html + - name: Install PyTorch on Linux and Windows + if: > + matrix.operating-system == 'ubuntu-latest' || + matrix.operating-system == 'windows-latest' + run: > + pip install torch==${{ matrix.torch-version }}+cpu + -f https://download.pytorch.org/whl/torch_stable.html - - name: Install PyTorch on MacOS - if: matrix.operating-system == 'macos-latest' - run: pip install torch==${{ matrix.torch-version }} + - name: Install PyTorch on MacOS + if: matrix.operating-system == 'macos-latest' + run: pip install torch==${{ matrix.torch-version }} - - name: Install latest whisperplus package - run: > - pip install --upgrade --force-reinstall whisperplus + - name: Install latest whisperplus package + run: > + pip install --upgrade --force-reinstall whisperplus - - name: Unittest whisperplus - run: | - python -m unittest + - name: Unittest whisperplus + run: | + python -m unittest