Reading grib files poetry #476
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: Run pre-commit in probtest | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| probtest-pre-commit: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.10 # Adjust Python version if needed | |
| - name: Install dependencies with Poetry | |
| run: | | |
| poetry install | |
| - name: Install pre-commit hooks | |
| run: | | |
| poetry run pre-commit install | |
| - name: Run pre-commit hooks | |
| run: | | |
| poetry run pre-commit run --all-files |