Update tnt.py #394
Workflow file for this run
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: 📙 DefElement | |
| on: | |
| pull_request | |
| jobs: | |
| defelement: | |
| name: Test DefElement build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.14" | |
| - name: Install OpenBLAS | |
| run: sudo apt-get install -y libopenblas-dev | |
| - name: Load matrix cache | |
| id: cache-restore | |
| uses: actions/cache/restore@v3 | |
| with: | |
| path: /home/runner/.cache/symfem | |
| key: symfem-matrix-cache | |
| - uses: actions/checkout@v4 | |
| - run: pip install git+https://github.com/FEniCS/basix.git git+https://github.com/FEniCS/ufl.git | |
| name: Install Basix | |
| - run: pip install .[optional] | |
| name: Install Symfem | |
| - name: Clone DefElement | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./defelement | |
| repository: DefElement/DefElement | |
| ref: main | |
| - name: Install requirements | |
| run: | | |
| cd defelement | |
| pip install . | |
| - name: Test DefElement build | |
| run: | | |
| cd defelement | |
| python3 build.py ../_test_html --test auto | |
| - name: Run verification | |
| run: | | |
| cd defelement | |
| python3 verify.py --impl basix --assert-passing |