Skip to content

Commit a7dbc57

Browse files
committed
[CI] Use collapsible section in github workflow logs
1 parent 2736ff4 commit a7dbc57

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,24 @@ jobs:
3232
gpu-arch-version: ${{ matrix.gpu-arch-version }}
3333
submodules: recursive
3434
script: |
35+
echo "::group::Setup environment"
3536
conda create -n venv python=${{ matrix.python-version }} -y
3637
conda activate venv
3738
python -m pip install --upgrade pip
39+
echo "::endgroup::"
40+
41+
echo "::group::Install PyTorch"
3842
pip install ${{ matrix.torch-spec }}
43+
echo "::endgroup::"
44+
45+
echo "::group::Install Triton"
3946
./.github/scripts/install_triton.sh
47+
echo "::endgroup::"
48+
49+
echo "::group::Install requirements"
4050
pip install -r requirements.txt
51+
echo "::endgroup::"
52+
53+
echo "::group::Run tests"
4154
python -m unittest discover -s test/ -p "*.py" -v -t .
55+
echo "::endgroup::"

0 commit comments

Comments
 (0)