From 33184a0cfcd515df099d7486f6326f6c1e75f474 Mon Sep 17 00:00:00 2001 From: Ali Elarif Date: Tue, 19 Jul 2022 19:45:17 +0200 Subject: [PATCH 1/2] update Upper case of some attributes of CollectionProblemData --- .../Scilab_ESI_Group/OpenFOAMairfoil2D/AirfoilOffline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/poc-1/examples/Modules/Scilab_ESI_Group/OpenFOAMairfoil2D/AirfoilOffline.py b/src/poc-1/examples/Modules/Scilab_ESI_Group/OpenFOAMairfoil2D/AirfoilOffline.py index 011fdd72..47215333 100644 --- a/src/poc-1/examples/Modules/Scilab_ESI_Group/OpenFOAMairfoil2D/AirfoilOffline.py +++ b/src/poc-1/examples/Modules/Scilab_ESI_Group/OpenFOAMairfoil2D/AirfoilOffline.py @@ -27,8 +27,8 @@ def test(): #################################################### collectionProblemData = CPD.CollectionProblemData() # ADD? DOE = SCENARIO1 SCENARIO2 ... SCENARIO10 - collectionProblemData.addVariabilityAxis('mu1',float,description="my_parameter") - collectionProblemData.defineQuantity("P", full_name="pressure", unit="Pa") + collectionProblemData.AddVariabilityAxis('mu1',float,description="my_parameter") + collectionProblemData.DefineQuantity("P", full_name="pressure", unit="Pa") nbOfComp = 1 nbOfNodes = 10906 From b6c691ab46fc022af8c88e3cee872a4c1ee69a89 Mon Sep 17 00:00:00 2001 From: Christophe Prud'homme Date: Thu, 5 Jan 2023 17:08:22 +0100 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccc3d5d3..a35853f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: # BRANCH: "master" # MESSAGE: ":github: Triggered from a GitHub Action by brain Project" build: - runs-on: self-ubuntu-20.04 + runs-on: self-ubuntu-22.04 if: "!contains(github.event.head_commit.message, 'ci skip')" name: Check Build, Install, Run steps: @@ -52,14 +52,14 @@ jobs: echo $GITHUB_WORKSPACE ls $GITHUB_WORKSPACE/src/poc-1/src - name: Run PyTest - run: $HOME/.local/bin/pytest --ignore Modules/Safran + run: pytest-3 --ignore Modules/Safran working-directory: src/poc-1/tests - name: Run Mordicus Core Coverage run: | echo '... NonRegression tests on Core ended' mkdir -p pages/coverageReportCore echo 'Starting coverage report on Core...' - $HOME/.local/bin/pytest --cov=../../src/Mordicus/Core --cov-report=html:../../../../pages/coverageReportCore && cd - + pytest-3 --cov=../../src/Mordicus/Core --cov-report=html:../../../../pages/coverageReportCore && cd - working-directory: src/poc-1/tests/Core - name: Upload uses: actions/upload-artifact@v2 @@ -169,4 +169,4 @@ jobs: context: artifacts tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - file: ./Dockerfile \ No newline at end of file + file: ./Dockerfile