From 8c65df637d0cde533fb10b4937c76ac50b225e83 Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Wed, 27 Jul 2022 11:54:28 +0530 Subject: [PATCH 1/3] Run tests and doc build for 23.1 docker --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a367b8cd04c2..24d870f35b7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,7 +110,7 @@ jobs: runs-on: [self-hosted, pyfluent] strategy: matrix: - image-tag: [v22.2.0] + image-tag: [v22.2.0, v23.1.0] steps: - uses: actions/checkout@v3 @@ -235,7 +235,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - image-tag: [v22.2.0] + image-tag: [v22.2.0, v23.1.0] steps: - uses: actions/checkout@v3 From bd9c000a9983360e1525f3b0f083486b0395804d Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Wed, 27 Jul 2022 13:08:34 +0530 Subject: [PATCH 2/3] Don't show installation log --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5c0de42c6869..5b82f2f89cd5 100644 --- a/Makefile +++ b/Makefile @@ -3,17 +3,15 @@ style: @pre-commit run --all-files --show-diff-on-failure install: - @pip uninstall ansys-api-fluent -y @pip install -r requirements/requirements_build.txt @python -m build - @pip install dist/*.whl + @pip install dist/*.whl --quiet version-info: @bash -c "date -u +'Build date: %B %d, %Y %H:%M UTC ShaID: ' | xargs -I date sed -i 's/_VERSION_INFO = .*/_VERSION_INFO = \"date\"/g' src/ansys/fluent/core/__init__.py" @bash -c "git --no-pager log -n 1 --format='%h' | xargs -I hash sed -i 's//hash/g' src/ansys/fluent/core/__init__.py" docker-pull: - @pip install docker @bash .ci/pull_fluent_image.sh test-import: @@ -28,7 +26,7 @@ api-codegen: @echo "Running API codegen" @python -m venv env @. env/bin/activate - @pip install -e . + @pip install -e . --quiet @python codegen/allapigen.py @rm -rf env From 014a93eb0da11979a91e5d9994763d22b22b06e6 Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Wed, 27 Jul 2022 14:48:03 +0530 Subject: [PATCH 3/3] Suppress logs --- .github/workflows/ci.yml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24d870f35b7a..df06e8d8e10f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -194,7 +194,7 @@ jobs: - name: Install again after codegen run: | rm -rf dist - make install + make install > /dev/null - name: Cache examples uses: actions/cache@v3 @@ -308,7 +308,7 @@ jobs: - name: Install again after codegen run: | rm -rf dist - make install + make install > /dev/null - name: Unit Testing run: make unittest diff --git a/Makefile b/Makefile index 5b82f2f89cd5..653c7dfb12d4 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ style: install: @pip install -r requirements/requirements_build.txt @python -m build - @pip install dist/*.whl --quiet + @pip install -q dist/*.whl version-info: @bash -c "date -u +'Build date: %B %d, %Y %H:%M UTC ShaID: ' | xargs -I date sed -i 's/_VERSION_INFO = .*/_VERSION_INFO = \"date\"/g' src/ansys/fluent/core/__init__.py" @@ -26,7 +26,7 @@ api-codegen: @echo "Running API codegen" @python -m venv env @. env/bin/activate - @pip install -e . --quiet + @pip install -q -e . @python codegen/allapigen.py @rm -rf env