Adding continuous integration. #5
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: Style, Spellcheck, & Docstring | |
| on: pull_request | |
| jobs: | |
| style: | |
| name: Style | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| python-version: "3.11" | |
| - uses: pre-commit/[email protected] | |
| - name: Install dependencies | |
| run: pip install . | |
| # Run Ruff | |
| - name: Run Ruff | |
| run: ruff check contourusv | |
| # Run Codespell | |
| - name: Run Codespell | |
| run: codespell contourusv |