Skip to content

Commit 71ff8f2

Browse files
committed
Add debug logs to workflow
1 parent 405ce90 commit 71ff8f2

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,29 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16+
1617
- name: Set up Python ${{ matrix.python-version }}
1718
uses: actions/setup-python@v5
1819
with:
1920
python-version: ${{ matrix.python-version }}
21+
2022
- name: Install dependencies
2123
run: |
2224
python -m pip install --upgrade pip
2325
python -m pip install --upgrade pip setuptools wheel
2426
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
2527
python -m pip install -e .
26-
- name: Display Python version
27-
run: python -m unittest discover -s tests/unit
28+
29+
- name: Display Python & Installed Packages
30+
run: |
31+
python --version
32+
pip freeze
33+
34+
- name: Run Unit Tests
35+
run: python -m unittest discover -s tests/unit -v
36+
env:
37+
ACTIONS_STEP_DEBUG: true # Enable debug logs
38+
39+
# SSH Debugging (Optional, Uncomment if needed)
40+
# - name: Debug with SSH
41+
# uses: mxschmitt/action-tmate@v3

0 commit comments

Comments
 (0)