Skip to content

Add iso element on hexahedron #919

Add iso element on hexahedron

Add iso element on hexahedron #919

Workflow file for this run

name: Basix CI on MacOS
# This workflow will install Python dependencies, run tests and lint
# with a single version of Python For more information see:
# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
on:
pull_request:
branches:
- main
push:
tags:
- "v*"
branches:
- main
jobs:
build:
name: Build and test (MacOS)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies (non-Python)
run: brew install ninja
- name: Install Basix
run: |
python -m pip -v install .[test]
- name: Run units tests
run: |
python -m pip install pytest-xdist
python -m pytest -n auto --durations 20 test/
- name: Run python demos
run: python -m pytest demo/python/test.py
- name: Run C++ demos
run: |
python -m pytest demo/cpp/test.py