From 187ae9ab5d14bcc08c4ead72623912f71c0fbb45 Mon Sep 17 00:00:00 2001 From: Vidalnt Date: Sun, 18 Aug 2024 13:35:09 -0500 Subject: [PATCH] Delete unittest.yml --- .github/workflows/unittest.yml | 38 ---------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/unittest.yml diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml deleted file mode 100644 index 93945776..00000000 --- a/.github/workflows/unittest.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Test preprocess and extract -on: [push, pull_request] -jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - python-version: ["3.9", "3.10"] - os: [ubuntu-latest] - - steps: - - uses: actions/checkout@main - - name: Free up space on runner - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf /opt/ghc - sudo rm -rf "/usr/local/share/boost" - sudo rm -rf "$AGENT_TOOLSDIRECTORY" - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - sudo apt update - sudo apt -y install ffmpeg - python -m pip install --upgrade pip - python -m pip install --upgrade setuptools - python -m pip install --upgrade wheel - pip install torch torchvision torchaudio - pip install -r requirements.txt - python core.py prerequisites --models "True" - - name: Test Preprocess - run: | - python core.py preprocess --model_name "Evaluate" --dataset_path "logs/mute/sliced_audios" --sample_rate "48000" --cpu_cores "2" - - name: Test Extract - run: | - python core.py extract --model_name "Evaluate" --sample_rate "48000" --cpu_cores "2" \ No newline at end of file