fix: edge-connected plates has now conforming meshes #233
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: ci-profiling | |
# Bump 3 | |
on: push | |
jobs: | |
test-profile: | |
name: Profile ada-py-full | |
if: ${{ contains(github.event.head_commit.message, '[profile]') }} | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: mamba-org/setup-micromamba@v1 # https://github.com/mamba-org/setup-micromamba | |
with: | |
cache-env: true | |
environment-name: ada | |
channels: conda-forge | |
channel-priority: strict | |
environment-file: conda/environment.core.yml | |
create-args: >- | |
python=3.11 | |
jupyterlab | |
pythreejs | |
pyparsing | |
pytest | |
scalene | |
- name: pip install | |
run: | | |
pip install -e . | |
- name: Profile using scalene | |
run: scalene --json -m pytest ./tests --ignore=./tests/docker/ --outfile=profile.json | |
- name: Profile using cProfile | |
run: python -m cProfile -o profile -m pytest tests --ignore=./tests/docker | |
- name: Create Release Package | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
profile.json | |
profile | |
tag_name: "Ada-py profile $(date +'%Y-%m-%d %H:%M')" | |
body: "Profile produced on commit ${{ github.sha }}" |