diff --git a/.github/workflows/legacy-ci.yml b/.github/workflows/legacy-ci.yml deleted file mode 100644 index 68d70a8..0000000 --- a/.github/workflows/legacy-ci.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: legacy-ci - -on: - push: - branches: - - main - - develop - tags: - - "*" - pull_request: - branches: - - main - - develop - pull_request_target: - types: [labeled] - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -defaults: - run: - shell: bash -l {0} - -jobs: - documentation: - if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }} - runs-on: ubuntu-latest - defaults: - run: - shell: bash -l {0} - - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha || github.ref }} - - name: Install Conda environment with Micromamba - uses: mamba-org/setup-micromamba@v1 - with: - environment-file: tests/environment-docs-tests.yml - environment-name: DEVELOP - channels: conda-forge - cache-environment: true - cache-env-key: ubuntu-latest-3.10-no-eccodes - create-args: >- - python=3.10 - - name: Install package - run: | - python -m pip install --no-deps -e . - - name: Build documentation - run: | - make docs-build diff --git a/.github/workflows/notify-new-issue.yml b/.github/workflows/notify-new-issue.yml deleted file mode 100644 index e447951..0000000 --- a/.github/workflows/notify-new-issue.yml +++ /dev/null @@ -1,15 +0,0 @@ -# name: Notify new issue - -# on: -# issues: -# types: -# - "opened" - -# jobs: -# notify: -# runs-on: ubuntu-latest -# steps: -# - name: Notify new issue -# uses: ecmwf/notify-teams-issue@v1 -# with: -# incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }} diff --git a/.github/workflows/notify-new-pr.yml b/.github/workflows/notify-new-pr.yml deleted file mode 100644 index 241537e..0000000 --- a/.github/workflows/notify-new-pr.yml +++ /dev/null @@ -1,15 +0,0 @@ -# name: Notify new PR - -# on: -# pull_request_target: -# types: -# - "opened" - -# jobs: -# notify: -# runs-on: ubuntu-latest -# steps: -# - name: Notify new PR -# uses: ecmwf/notify-teams-pr@v1 -# with: -# incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 91b00be..48e841e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,7 +49,7 @@ repos: - id: mdformat exclude: cruft-update-template.md - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.11.0 + rev: v2.16.0 hooks: - id: pretty-format-yaml args: [--autofix, --preserve-quotes] diff --git a/README.md b/README.md index 9a25c5e..d7756f6 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,6 @@ Install from PyPI: pip install earthkit ``` -More details can be found at https://earthkit.readthedocs.io/en/latest/install.html. - ## Licence ``` diff --git a/tests/test_import.py b/tests/test_import.py index d79052e..f85b045 100644 --- a/tests/test_import.py +++ b/tests/test_import.py @@ -11,6 +11,7 @@ import pytest + def test_earthkit_data_import(): import earthkit.data # noqa from earthkit.data import from_source # noqa