-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #532 from ecmwf/develop
Prepare release 0.11.0
- Loading branch information
Showing
225 changed files
with
36,114 additions
and
4,045 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,44 +24,32 @@ defaults: | |
shell: bash -l {0} | ||
|
||
jobs: | ||
pre-commit: | ||
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha || github.ref }} | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- uses: pre-commit/[email protected] | ||
# unit-tests-no-eccodes: | ||
# name: unit-tests (3.10) | ||
# if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }} | ||
# runs-on: ubuntu-latest | ||
|
||
unit-tests-no-eccodes: | ||
name: unit-tests (3.10) | ||
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }} | ||
runs-on: ubuntu-latest | ||
|
||
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-unit-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 . | ||
micromamba remove eccodes | ||
- name: Run tests without eccodes | ||
run: | | ||
python -m pytest -v -m 'no_eccodes' | ||
# 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-unit-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 . | ||
# micromamba remove eccodes | ||
# - name: Run tests without eccodes | ||
# run: | | ||
# python -m pytest -v -m 'no_eccodes' | ||
|
||
|
||
documentation: | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Code Quality checks for PRs | ||
|
||
on: | ||
push: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
quality: | ||
uses: ecmwf-actions/reusable-workflows/.github/workflows/qa-precommit-run.yml@v2 | ||
with: | ||
skip-hooks: "no-commit-to-branch" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.