Merge pull request #174 from felicio93/improve_merge_overlap_meshes #468
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: Pylint | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- '**.py' | |
- '.github/workflows/*.yml' | |
- 'pyproject.toml' | |
- 'setup.py' | |
- 'setup.cfg' | |
pull_request: | |
paths: | |
- '**.py' | |
- '.github/workflows/*.yml' | |
- 'pyproject.toml' | |
- 'setup.py' | |
- 'setup.cfg' | |
jobs: | |
format-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Mamba environment for Python | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
environment-file: ./environment.yml | |
environment-name: ocsmesh-env | |
- name: Install dependencies | |
shell: bash -l {0} | |
run: | | |
python ./setup.py install_jigsaw | |
pip install .[testing] | |
- name: Analysing the code with pylint | |
shell: bash -l {0} | |
run: | | |
pylint ocsmesh |