Fix Guzman-Neilan bubbles #887
Workflow file for this run
This file contains 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: 🥼 Coveralls | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
coveralls: | |
name: Run coverage checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Load matrix cache | |
id: cache-restore | |
uses: actions/cache/restore@v3 | |
with: | |
path: /home/runner/.cache/symfem | |
key: symfem-matrix-cache | |
- run: | | |
sudo apt-get install -y libeigen3-dev libopenblas-dev liblapack-dev ninja-build | |
pip install pybind11 | |
name: Install Basix requirements | |
- run: pip install coverage coveralls pytest-cov | |
name: Install Coveralls | |
- uses: actions/checkout@v4 | |
- run: pip install .[test] pytest-xdist | |
name: Install Symfem | |
- run: pip install git+https://github.com/FEniCS/basix.git | |
name: Install Basix | |
- run: python3 -m pytest -n=auto --cov=symfem test/ > .coveralls_output | |
name: Run unit tests | |
continue-on-error: true | |
- name: Check coverage is over 80% | |
run: python3 .github/scripts/coveralls_check.py | |
- name: Upload to Coveralls | |
if: ${{ github.ref == 'refs/heads/main' }} | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.coverall_token }} | |
run: python3 -m coveralls |