-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 900_msa_precip_variability_demo
- Loading branch information
Showing
69 changed files
with
3,324 additions
and
1,142 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,21 +25,27 @@ jobs: | |
needs: check-jobs-to-skip | ||
if: ${{ needs.check-jobs-to-skip.outputs.should_skip != 'true'}} || ${{ github.event_name == 'push' }} | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 2 | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
- name: Checkout Code Repository | ||
uses: actions/checkout@v2 | ||
|
||
with: | ||
node-version: '16' | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
node-version: '16' | ||
python-version: 3.9 | ||
|
||
# Run all pre-commit hooks on all the files. | ||
# Getting only staged files can be tricky in case a new PR is opened | ||
# since the action is run on a branch in detached head state | ||
- name: Install and Run Pre-commit | ||
uses: pre-commit/[email protected] | ||
with: | ||
node-version: '16' | ||
|
||
build: | ||
needs: check-jobs-to-skip | ||
|
@@ -50,14 +56,17 @@ jobs: | |
shell: bash -l {0} | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache Conda | ||
uses: actions/cache@v2 | ||
env: | ||
# Increase this value to reset cache if conda/dev.yml has not changed in the workflow | ||
CACHE_NUMBER: 0 | ||
with: | ||
node-version: '16' | ||
path: ~/conda_pkgs_dir | ||
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-publish | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# init for pcmdi_metrics.io | ||
from .xcdat_openxml import xcdat_open # noqa # isort:skip | ||
from . import base # noqa | ||
from .base import MV2Json # noqa | ||
from .default_regions_define import load_regions_specs # noqa | ||
from .default_regions_define import region_subset # noqa |
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.