Made the exponent of the contact force stiffness a user choice. #107
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: test | |
| on: | |
| push: | |
| branches: master | |
| pull_request: | |
| branches: master | |
| # cancels prior builds for this workflow when new commit is pushed | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.13"] | |
| name: test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Conda environment | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| auto-update-conda: true | |
| python-version: ${{ matrix.python-version }} | |
| channels: conda-forge | |
| environment-file: gait2d-dev.yml | |
| miniforge-version: latest | |
| - name: install | |
| shell: bash -l {0} | |
| run: | | |
| conda info | |
| python -m pip install --no-deps --no-build-isolation --editable . | |
| conda list | |
| - name: run tests | |
| shell: bash -l {0} | |
| run: | | |
| pytest pygait2d/ | |
| - name: build docs | |
| shell: bash -l {0} | |
| run: | | |
| cd docs | |
| make html |