From b5adb6692fba39f7aa8d547857ae76ad507c4881 Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Thu, 16 Feb 2023 14:26:05 +0100 Subject: [PATCH 1/3] reduce GHA log output --- .github/workflows/test-linux-cpu.yml | 6 +++--- .github/workflows/test-linux-gpu.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-linux-cpu.yml b/.github/workflows/test-linux-cpu.yml index 5dc7550d868..2e06eccbca6 100644 --- a/.github/workflows/test-linux-cpu.yml +++ b/.github/workflows/test-linux-cpu.yml @@ -39,7 +39,7 @@ jobs: fi # Create Conda Env - conda create -yp ci_env python="${PYTHON_VERSION}" numpy libpng jpeg scipy + conda create -yp ci_env --quiet python="${PYTHON_VERSION}" numpy libpng jpeg scipy conda activate /work/ci_env # Install PyTorch, Torchvision, and testing libraries @@ -50,8 +50,8 @@ jobs: -c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] \ "${CUDATOOLKIT}" python3 setup.py develop - python3 -m pip install pytest pytest-mock 'av<10' + python3 -m pip install --progress-bar=off pytest pytest-mock 'av<10' # Run Tests python3 -m torch.utils.collect_env - python3 -m pytest --junitxml=test-results/junit.xml -v --durations 20 + python3 -m pytest --junitxml=test-results/junit.xml --durations 20 diff --git a/.github/workflows/test-linux-gpu.yml b/.github/workflows/test-linux-gpu.yml index 831de27e350..f041389106d 100644 --- a/.github/workflows/test-linux-gpu.yml +++ b/.github/workflows/test-linux-gpu.yml @@ -43,7 +43,7 @@ jobs: fi # Create Conda Env - conda create -yp ci_env python="${PYTHON_VERSION}" numpy libpng jpeg scipy + conda create -yp ci_env --quiet python="${PYTHON_VERSION}" numpy libpng jpeg scipy conda activate /work/ci_env # Install PyTorch, Torchvision, and testing libraries @@ -54,8 +54,8 @@ jobs: -c nvidia "pytorch-${CHANNEL}"::pytorch[build="*${VERSION}*"] \ "${CUDATOOLKIT}" python3 setup.py develop - python3 -m pip install pytest pytest-mock 'av<10' + python3 -m pip install --progress-bar=off pytest pytest-mock 'av<10' # Run Tests python3 -m torch.utils.collect_env - python3 -m pytest --junitxml=test-results/junit.xml -v --durations 20 + python3 -m pytest --junitxml=test-results/junit.xml --durations 20 From 803a6d67a76019aec482c6debfca37f0e7675a29 Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Wed, 22 Feb 2023 10:41:04 +0100 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: vfdev --- .github/workflows/test-linux-cpu.yml | 1 - .github/workflows/test-linux-gpu.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test-linux-cpu.yml b/.github/workflows/test-linux-cpu.yml index d7765d7ec9b..ddb599e7539 100644 --- a/.github/workflows/test-linux-cpu.yml +++ b/.github/workflows/test-linux-cpu.yml @@ -41,7 +41,6 @@ jobs: # Create Conda Env conda create -yp ci_env --quiet python="${PYTHON_VERSION}" numpy libpng jpeg scipy 'ffmpeg<4.3' conda activate /work/ci_env - # Install PyTorch, Torchvision, and testing libraries set -ex conda install \ diff --git a/.github/workflows/test-linux-gpu.yml b/.github/workflows/test-linux-gpu.yml index 20a61e12bd9..d1275071bf7 100644 --- a/.github/workflows/test-linux-gpu.yml +++ b/.github/workflows/test-linux-gpu.yml @@ -43,7 +43,7 @@ jobs: fi # Create Conda Env - conda create -yp ci_env --quiet python="${PYTHON_VERSION}" numpy libpng jpeg scipy 'ffmpeg<4.3' + conda create -yp ci_env --quiet python="${PYTHON_VERSION}" numpy libpng jpeg scipy 'ffmpeg<4.3' conda activate /work/ci_env # Install PyTorch, Torchvision, and testing libraries From e39a333e6b50f86e7e07cd197ad1ee0318a5bdbd Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Wed, 22 Feb 2023 10:42:15 +0100 Subject: [PATCH 3/3] cleanup --- .github/workflows/test-linux-cpu.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-linux-cpu.yml b/.github/workflows/test-linux-cpu.yml index ddb599e7539..8a9f7d33b49 100644 --- a/.github/workflows/test-linux-cpu.yml +++ b/.github/workflows/test-linux-cpu.yml @@ -41,6 +41,7 @@ jobs: # Create Conda Env conda create -yp ci_env --quiet python="${PYTHON_VERSION}" numpy libpng jpeg scipy 'ffmpeg<4.3' conda activate /work/ci_env + # Install PyTorch, Torchvision, and testing libraries set -ex conda install \