Changing build backend to scikit-build-core
#209
Workflow file for this run
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: "Lint" | |
| on: | |
| pull_request: | |
| # cancel running jobs if theres a newer push | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3.5.2 | |
| with: | |
| submodules: 'recursive' | |
| - name: Step Python | |
| uses: actions/setup-python@v4.6.0 | |
| with: | |
| python-version: '3.12.13' | |
| - name: Install OpenMPI for gt4py | |
| run: | | |
| sudo apt-get update && sudo apt-get install libopenmpi-dev netcdf-bin libnetcdf-dev libnetcdff-dev nco libyaml-dev diffutils | |
| - name: Install Python packages | |
| run: | | |
| python -m pip install --upgrade pip setuptools wheel | |
| pip install .[develop] | |
| - name: Run lint via pre-commit | |
| run: | | |
| pre-commit run --all-files |