chothia numbering support (#175) #548
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: build and test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: [3.9, "3.12"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| path: main | |
| - uses: mamba-org/setup-micromamba@v1 | |
| with: | |
| micromamba-version: '1.5.6-0' # any version from https://github.com/mamba-org/micromamba-releases | |
| environment-name: netam | |
| create-args: >- | |
| python=${{ matrix.python-version }} | |
| black | |
| flake8 | |
| docformatter | |
| init-shell: bash | |
| cache-environment: false | |
| post-cleanup: 'none' | |
| - name: Check for TODOs | |
| shell: bash -l {0} | |
| run: | | |
| cd main | |
| make checktodo | |
| - name: Check format | |
| shell: bash -l {0} | |
| run: | | |
| cd main | |
| make checkformat | |
| - name: Install | |
| shell: bash -l {0} | |
| run: | | |
| cd main | |
| make install | |
| - name: Test | |
| shell: bash -l {0} | |
| run: | | |
| set -e | |
| cd main | |
| make test | |
| make notebooks |