Added fix to mesh2mesh_meshVariable() (#4) #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and test UW3 | |
| # We should trigger this from an upload event. Note that pdoc requires us to import the | |
| # built code, so this is a building test as well as documentation deployment | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - development | |
| - Quick_Start_Docs | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Conda environment with Micromamba | |
| uses: mamba-org/setup-micromamba@v2 | |
| with: | |
| environment-file: ./environment.yml | |
| cache-downloads: true | |
| cache-environment: true | |
| # # gmsh is such a pig to install properly | |
| # - name: Add gmsh package | |
| # shell: bash -l {0} | |
| # run: | | |
| # pip install gmsh | |
| - name: Build UW3 | |
| shell: bash -l {0} | |
| run: | | |
| export PETSC_DIR="/home/runner/micromamba/envs/uw3_test/lib" | |
| VERSION=`python3 setup.py --version` | |
| echo "UW - version " ${VERSION} | |
| ## TODO. Use compile.sh once it is in development | |
| pip install -e . --no-build-isolation | |
| ## ./compile.sh | |
| # Test - split into short, low memory tests 0???_* | |
| # and longer, solver-based tests 1???_* | |
| - name: Run pytest | |
| shell: bash -l {0} | |
| run: | | |
| ./test.sh |