From d56a04eb8c0b1196a4393f5c70f448ff34b69e94 Mon Sep 17 00:00:00 2001 From: Adam Cheng <52572642+adamchengtkc@users.noreply.github.com> Date: Mon, 13 Nov 2023 08:28:10 +0000 Subject: [PATCH 1/3] TST> 3D test ci --- .github/workflows/python-test-3d.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python-test-3d.yml b/.github/workflows/python-test-3d.yml index dc02aae..5048b79 100644 --- a/.github/workflows/python-test-3d.yml +++ b/.github/workflows/python-test-3d.yml @@ -25,9 +25,8 @@ jobs: with: image: dolfinx/dolfinx:v0.7.0 name: dolfinx - options: -v ${{ github.workspace }}:/warmth + options: -v ${{ github.workspace }}:/ args: | - cd /warmth pip install . pip install pytest==7.4.2 pytest-cov==4.1.0 pytest --cov-report=term-missing --cov=warmth/3d tests/3d | tee pytest-coverage.txt From 9374277ee940fd2bc277b3cb3c88c70d77396a75 Mon Sep 17 00:00:00 2001 From: Adam Cheng <52572642+adamchengtkc@users.noreply.github.com> Date: Mon, 13 Nov 2023 08:39:27 +0000 Subject: [PATCH 2/3] TST: 3d ci --- .github/workflows/python-test-3d.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-test-3d.yml b/.github/workflows/python-test-3d.yml index 5048b79..ebcc918 100644 --- a/.github/workflows/python-test-3d.yml +++ b/.github/workflows/python-test-3d.yml @@ -25,11 +25,9 @@ jobs: with: image: dolfinx/dolfinx:v0.7.0 name: dolfinx - options: -v ${{ github.workspace }}:/ + options: -v ${{ github.workspace }}:/warmth args: | - pip install . - pip install pytest==7.4.2 pytest-cov==4.1.0 - pytest --cov-report=term-missing --cov=warmth/3d tests/3d | tee pytest-coverage.txt + bash -c "cd /warmth" && pip install . pytest==7.4.2 pytest-cov==4.1.0 && pytest --cov-report=term-missing --cov=warmth/3d tests/3d | tee pytest-coverage.txt - name: Comment coverage From 6e51864f79b717dd3c7ba615e3d10758b3efbf9f Mon Sep 17 00:00:00 2001 From: Adam Cheng <52572642+adamchengtkc@users.noreply.github.com> Date: Mon, 13 Nov 2023 08:48:37 +0000 Subject: [PATCH 3/3] TST: 3d ci mount --- .github/workflows/python-test-3d.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-test-3d.yml b/.github/workflows/python-test-3d.yml index ebcc918..53d758d 100644 --- a/.github/workflows/python-test-3d.yml +++ b/.github/workflows/python-test-3d.yml @@ -25,9 +25,9 @@ jobs: with: image: dolfinx/dolfinx:v0.7.0 name: dolfinx - options: -v ${{ github.workspace }}:/warmth + options: -v ${{ github.workspace }}:/home/warmth args: | - bash -c "cd /warmth" && pip install . pytest==7.4.2 pytest-cov==4.1.0 && pytest --cov-report=term-missing --cov=warmth/3d tests/3d | tee pytest-coverage.txt + bash -c "cd /home/warmth" && pip install . pytest==7.4.2 pytest-cov==4.1.0 && pytest --cov-report=term-missing --cov=warmth/3d tests/3d | tee pytest-coverage.txt - name: Comment coverage