diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 32040c28..5f7ad5e6 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -53,16 +53,16 @@ jobs: docker exec -i regtest /bin/bash -c "cd ${{env.DOCKER_WORKING_DIR}}/src && cp -r adjoint adjointAD && cp -r pyDASolvers pyDASolversAD" if [ "${{matrix.args}}" = "forward" ]; then docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake incompressible" - docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && . ${{env.DOCKER_OF_ADF_BASHRC}} && cd ${{env.DOCKER_WORKING_DIR}}/src/adjointAD && ./Allmake incompressible 2> errorLog.txt && cd ../pyDASolversAD && ./Allmake incompressible 2> errorLog.txt" + docker exec -i -e DAFOAM_NO_WARNINGS=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && . ${{env.DOCKER_OF_ADF_BASHRC}} && cd ${{env.DOCKER_WORKING_DIR}}/src/adjointAD && ./Allmake incompressible && cd ../pyDASolversAD && ./Allmake incompressible " elif [ "${{matrix.args}}" = "mphys_incomp" ]; then docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake incompressible" - docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && . ${{env.DOCKER_OF_ADR_BASHRC}} && cd ${{env.DOCKER_WORKING_DIR}}/src/adjointAD && ./Allmake incompressible 2> errorLog.txt && cd ../pyDASolversAD && ./Allmake incompressible 2> errorLog.txt" + docker exec -i -e DAFOAM_NO_WARNINGS=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && . ${{env.DOCKER_OF_ADR_BASHRC}} && cd ${{env.DOCKER_WORKING_DIR}}/src/adjointAD && ./Allmake incompressible && cd ../pyDASolversAD && ./Allmake incompressible " elif [ "${{matrix.args}}" = "mphys_comp" ]; then docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake solid && ./Allclean && ./Allmake compressible" - docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && . ${{env.DOCKER_OF_ADR_BASHRC}} && cd ${{env.DOCKER_WORKING_DIR}}/src/adjointAD && ./Allmake solid 2> errorLog.txt && ./Allclean && ./Allmake compressible 2> errorLog.txt && cd ../pyDASolversAD && ./Allmake solid 2> errorLog.txt && ./Allclean && ./Allmake compressible 2> errorLog.txt" + docker exec -i -e DAFOAM_NO_WARNINGS=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && . ${{env.DOCKER_OF_ADR_BASHRC}} && cd ${{env.DOCKER_WORKING_DIR}}/src/adjointAD && ./Allmake solid && ./Allclean && ./Allmake compressible && cd ../pyDASolversAD && ./Allmake solid && ./Allclean && ./Allmake compressible " else docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake ${{matrix.args}}" - docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && . ${{env.DOCKER_OF_ADR_BASHRC}} && cd ${{env.DOCKER_WORKING_DIR}}/src/adjointAD && ./Allmake ${{matrix.args}} 2> errorLog.txt && cd ../pyDASolversAD && ./Allmake ${{matrix.args}} 2> errorLog.txt" + docker exec -i -e DAFOAM_NO_WARNINGS=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && . ${{env.DOCKER_OF_ADR_BASHRC}} && cd ${{env.DOCKER_WORKING_DIR}}/src/adjointAD && ./Allmake ${{matrix.args}} && cd ../pyDASolversAD && ./Allmake ${{matrix.args}} " fi docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && pip install ." docker exec -i -e DF_CHECK_COVERAGE=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}}/tests && ./Allrun ${{matrix.args}}" diff --git a/.github/workflows/reg_tests.yml b/.github/workflows/reg_tests.yml index 908b938b..b28d81bb 100644 --- a/.github/workflows/reg_tests.yml +++ b/.github/workflows/reg_tests.yml @@ -41,13 +41,13 @@ jobs: docker run -i -d -u dafoamuser --name regtest -v $GITHUB_WORKSPACE:${{env.DOCKER_MOUNT_DIR}} dafoam/opt-packages:${{env.DOCKER_TAG}} /bin/bash docker exec -i regtest /bin/bash -c "rm -rf ${{env.DOCKER_WORKING_DIR}} && cp -r ${{env.DOCKER_MOUNT_DIR}} ${{env.DOCKER_WORKING_DIR}}" if [ "${{matrix.args}}" = "forward" ]; then - docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake incompressible && . ${{env.DOCKER_OF_ADF_BASHRC}} && ./Allclean && ./Allmake incompressible 2> errorLog.txt" + docker exec -i -e DAFOAM_NO_WARNINGS=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake incompressible && . ${{env.DOCKER_OF_ADF_BASHRC}} && ./Allclean && ./Allmake incompressible " elif [ "${{matrix.args}}" = "mphys_incomp" ]; then - docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake incompressible && . ${{env.DOCKER_OF_ADR_BASHRC}} && ./Allclean && ./Allmake incompressible 2> errorLog.txt" + docker exec -i -e DAFOAM_NO_WARNINGS=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake incompressible && . ${{env.DOCKER_OF_ADR_BASHRC}} && ./Allclean && ./Allmake incompressible " elif [ "${{matrix.args}}" = "mphys_comp" ]; then - docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake compressible && ./Allclean && ./Allmake solid && . ${{env.DOCKER_OF_ADR_BASHRC}} && ./Allclean && ./Allmake compressible 2> errorLog.txt && ./Allclean && ./Allmake solid 2> errorLog.txt" + docker exec -i -e DAFOAM_NO_WARNINGS=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake compressible && ./Allclean && ./Allmake solid && . ${{env.DOCKER_OF_ADR_BASHRC}} && ./Allclean && ./Allmake compressible && ./Allclean && ./Allmake solid " else - docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake ${{matrix.args}} && . ${{env.DOCKER_OF_ADR_BASHRC}} && ./Allclean && ./Allmake ${{matrix.args}} 2> errorLog.txt" + docker exec -i -e DAFOAM_NO_WARNINGS=1 regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && ./Allmake ${{matrix.args}} && . ${{env.DOCKER_OF_ADR_BASHRC}} && ./Allclean && ./Allmake ${{matrix.args}} " fi docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && pip install ." docker exec -i regtest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}}/tests && ./Allrun ${{matrix.args}}"