Add markdownlint to pre-commit #922
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 functions in class DomainDecomposer | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| branches: | |
| - "*" | |
| jobs: | |
| unit_tests: | |
| name: Run domain decomposition unit tests | |
| runs-on: ubuntu-latest | |
| container: precice/precice:nightly | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| with: | |
| path: micro-manager | |
| - name: Install Dependencies | |
| working-directory: micro-manager | |
| run: | | |
| apt-get -qq update | |
| apt-get -qq install python3-dev python3-venv git pkg-config | |
| - name: Create a virtual environment and install the Micro Manager in it | |
| working-directory: micro-manager | |
| run: | | |
| python3 -m venv .venv | |
| . .venv/bin/activate | |
| pip install . | |
| - name: Run unit tests | |
| working-directory: micro-manager | |
| run: | | |
| . .venv/bin/activate | |
| cd tests/unit | |
| python3 -m unittest test_domain_decomposition.py |