diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 1b0d45a..0e96c91 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -26,6 +26,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + apt install gdal-bin libgdal-dev python -m pip install --upgrade pip python -m pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7662c9f..90c19d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,13 +60,13 @@ repos: # hooks: # - id: nb-clean - - repo: local - hooks: - - id: pytest # pytest is a pre-commit hook - name: pytest - entry: pytest tests - language: system - types: [python] - exclude: ^venv/ ^.git/ ^.vscode/ ^.DS_Store ^uq/ ^hindcasts/ - always_run: true - pass_filenames: false + #- repo: local + # hooks: + # - id: pytest # pytest is a pre-commit hook + # name: pytest + # entry: pytest tests + # language: system + # types: [python] + # exclude: ^venv/ ^.git/ ^.vscode/ ^.DS_Store ^uq/ ^hindcasts/ + # always_run: true + # pass_filenames: false