Skip to content

Commit

Permalink
Merge pull request #40 from romanc/romanc/gha-lint
Browse files Browse the repository at this point in the history
[QOL] Streamline linting workflow
  • Loading branch information
FlorianDeconinck authored Feb 10, 2025
2 parents 3531fc6 + 4cc78e7 commit c3986dd
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,18 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Pace repository
uses: actions/[email protected]
with:
submodules: 'recursive'
- name: Step Python 3.11.7
uses: actions/[email protected]
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11.7'
- name: Install OpenMPI for gt4py
run: |
sudo apt-get install libopenmpi-dev
- name: Install Python packages
python-version: '3.11'

- name: Install pre-commit
run: |
python -m pip install --upgrade pip setuptools wheel
pip install .[develop]
pip install pre-commit
- name: Run lint via pre-commit
run: |
pre-commit run --all-files

0 comments on commit c3986dd

Please sign in to comment.