Spaces:
Runtime error
Runtime error
jhj0517 commited on
Commit ·
fefcf82
1
Parent(s): 639592c
Add debugging step
Browse files
.github/workflows/ci-shell.yml
CHANGED
|
@@ -17,12 +17,12 @@ jobs:
|
|
| 17 |
test-shell-script:
|
| 18 |
runs-on: ubuntu-latest
|
| 19 |
steps:
|
| 20 |
-
- name: 'Checkout GitHub Action'
|
| 21 |
-
uses: actions/checkout@v3
|
| 22 |
-
|
| 23 |
- name: Clean up space for action
|
| 24 |
run: rm -rf /opt/hostedtoolcache
|
| 25 |
|
|
|
|
|
|
|
|
|
|
| 26 |
- name: Setup Python ${{ env.PYTHON_VERSION }} Environment
|
| 27 |
uses: actions/setup-python@v4
|
| 28 |
with:
|
|
|
|
| 17 |
test-shell-script:
|
| 18 |
runs-on: ubuntu-latest
|
| 19 |
steps:
|
|
|
|
|
|
|
|
|
|
| 20 |
- name: Clean up space for action
|
| 21 |
run: rm -rf /opt/hostedtoolcache
|
| 22 |
|
| 23 |
+
- name: 'Checkout GitHub Action'
|
| 24 |
+
uses: actions/checkout@v3
|
| 25 |
+
|
| 26 |
- name: Setup Python ${{ env.PYTHON_VERSION }} Environment
|
| 27 |
uses: actions/setup-python@v4
|
| 28 |
with:
|
.github/workflows/ci.yml
CHANGED
|
@@ -19,20 +19,26 @@ jobs:
|
|
| 19 |
python: ["3.10"]
|
| 20 |
|
| 21 |
steps:
|
|
|
|
|
|
|
|
|
|
| 22 |
- uses: actions/checkout@v4
|
| 23 |
- name: Setup Python
|
| 24 |
uses: actions/setup-python@v5
|
| 25 |
with:
|
| 26 |
python-version: ${{ matrix.python }}
|
| 27 |
|
| 28 |
-
- name: Clean up space for action
|
| 29 |
-
run: rm -rf /opt/hostedtoolcache
|
| 30 |
-
|
| 31 |
- name: Install git and ffmpeg
|
| 32 |
run: sudo apt-get update && sudo apt-get install -y git ffmpeg
|
| 33 |
|
| 34 |
- name: Install dependencies
|
| 35 |
run: pip install -r requirements.txt pytest
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
- name: Run test
|
| 38 |
run: python -m pytest tests
|
|
|
|
| 19 |
python: ["3.10"]
|
| 20 |
|
| 21 |
steps:
|
| 22 |
+
- name: Clean up space for action
|
| 23 |
+
run: rm -rf /opt/hostedtoolcache
|
| 24 |
+
|
| 25 |
- uses: actions/checkout@v4
|
| 26 |
- name: Setup Python
|
| 27 |
uses: actions/setup-python@v5
|
| 28 |
with:
|
| 29 |
python-version: ${{ matrix.python }}
|
| 30 |
|
|
|
|
|
|
|
|
|
|
| 31 |
- name: Install git and ffmpeg
|
| 32 |
run: sudo apt-get update && sudo apt-get install -y git ffmpeg
|
| 33 |
|
| 34 |
- name: Install dependencies
|
| 35 |
run: pip install -r requirements.txt pytest
|
| 36 |
|
| 37 |
+
- name: List pip packages
|
| 38 |
+
run: pip list
|
| 39 |
+
|
| 40 |
+
- name: Debug UVR installation
|
| 41 |
+
run: python -c "import uvr"
|
| 42 |
+
|
| 43 |
- name: Run test
|
| 44 |
run: python -m pytest tests
|