Skip to content

Commit 1155adc

Browse files
authored
Merge branch 'main' into pep621
2 parents f6a0514 + f605b68 commit 1155adc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+892
-299
lines changed

.github/workflows/cache_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
# Checkout current git repository
2121
- name: Checkout
22-
uses: actions/[email protected].1
22+
uses: actions/[email protected].2
2323
with:
2424
# fecth all history so that setuptools-scm works
2525
fetch-depth: 0

.github/workflows/check-links.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515

1616
steps:
1717
- name: Checkout the repository
18-
uses: actions/[email protected].1
18+
uses: actions/[email protected].2
1919
with:
2020
path: repository
2121

2222
- name: Checkout the documentation
23-
uses: actions/[email protected].1
23+
uses: actions/[email protected].2
2424
with:
2525
ref: gh-pages
2626
path: documentation
2727

2828
- name: Link Checker
29-
uses: lycheeverse/lychee-action@v1.4.1
29+
uses: lycheeverse/lychee-action@v1.5.0
3030
with:
3131
# 429: Too many requests
3232
args: >

.github/workflows/ci_docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
# Checkout current git repository
5151
- name: Checkout
52-
uses: actions/[email protected].1
52+
uses: actions/[email protected].2
5353
with:
5454
# fecth all history so that setuptools-scm works
5555
fetch-depth: 0
@@ -72,15 +72,15 @@ jobs:
7272
run: |
7373
mamba install gmt=6.3.0 numpy pandas xarray netCDF4 packaging \
7474
build ipython make myst-parser geopandas \
75-
sphinx sphinx-copybutton sphinx-gallery sphinx_rtd_theme
75+
sphinx sphinx-copybutton sphinx-design sphinx-gallery sphinx_rtd_theme
7676
7777
# Show installed pkg information for postmortem diagnostic
7878
- name: List installed packages
7979
run: mamba list
8080

8181
# Download cached remote files (artifacts) from GitHub
8282
- name: Download remote data from GitHub
83-
uses: dawidd6/action-download-artifact@v2.19.0
83+
uses: dawidd6/action-download-artifact@v2.21.0
8484
with:
8585
workflow: cache_data.yaml
8686
workflow_conclusion: success
@@ -107,7 +107,7 @@ jobs:
107107
run: make -C doc clean all
108108

109109
- name: Checkout the gh-pages branch
110-
uses: actions/[email protected].1
110+
uses: actions/[email protected].2
111111
with:
112112
ref: gh-pages
113113
# Checkout to this folder instead of the current one

.github/workflows/ci_tests.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
# Checkout current git repository
7474
- name: Checkout
75-
uses: actions/[email protected].1
75+
uses: actions/[email protected].2
7676
with:
7777
# fecth all history so that setuptools-scm works
7878
fetch-depth: 0
@@ -105,7 +105,7 @@ jobs:
105105

106106
# Download cached remote files (artifacts) from GitHub
107107
- name: Download remote data from GitHub
108-
uses: dawidd6/action-download-artifact@v2.19.0
108+
uses: dawidd6/action-download-artifact@v2.21.0
109109
with:
110110
workflow: cache_data.yaml
111111
workflow_conclusion: success
@@ -133,10 +133,16 @@ jobs:
133133
python -m build --sdist
134134
pip install dist/*
135135
136-
# Run the tests
137-
- name: Test with pytest
136+
# Run the regular tests
137+
- name: Run tests
138+
if: github.event.schedule != '0 0 * * 3'
138139
run: make test PYTEST_EXTRA="-r P"
139140

141+
# Run full tests including doctests on Wednesday
142+
- name: Run full tests
143+
if: github.event_name == 'schedule' && github.event.schedule == '0 0 * * 3'
144+
run: make fulltest PYTEST_EXTRA="-r P"
145+
140146
# Upload diff images on test failure
141147
- name: Upload diff images if any test fails
142148
uses: actions/upload-artifact@v3

.github/workflows/ci_tests_dev.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ on:
1717
- '.gitignore'
1818
repository_dispatch:
1919
types: [test-gmt-dev-command]
20-
# Schedule daily tests
20+
# Schedule tests on Monday/Wednesday/Friday
2121
schedule:
22-
- cron: '0 0 * * *'
22+
- cron: '0 0 * * 1,3,5'
2323

2424
jobs:
2525
test_gmt_dev:
@@ -45,7 +45,7 @@ jobs:
4545

4646
# Checkout current git repository
4747
- name: Checkout
48-
uses: actions/[email protected].1
48+
uses: actions/[email protected].2
4949
if: github.event_name != 'repository_dispatch'
5050
with:
5151
# fecth all history so that setuptools-scm works
@@ -62,7 +62,7 @@ jobs:
6262

6363
# Checkout the pull request branch
6464
- name: Checkout
65-
uses: actions/[email protected].1
65+
uses: actions/[email protected].2
6666
if: github.event_name == 'repository_dispatch'
6767
with:
6868
token: ${{ steps.generate-token.outputs.token }}
@@ -137,7 +137,7 @@ jobs:
137137

138138
# Download cached remote files (artifacts) from GitHub
139139
- name: Download remote data from GitHub
140-
uses: dawidd6/action-download-artifact@v2.19.0
140+
uses: dawidd6/action-download-artifact@v2.21.0
141141
with:
142142
workflow: cache_data.yaml
143143
workflow_conclusion: success

.github/workflows/dvc-diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/[email protected].1
16+
uses: actions/[email protected].2
1717
with:
1818
# fetch all history so that dvc diff works
1919
fetch-depth: 0

.github/workflows/format-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
private_key: ${{ secrets.APP_PRIVATE_KEY }}
1515

1616
# Checkout the pull request branch
17-
- uses: actions/[email protected].1
17+
- uses: actions/[email protected].2
1818
with:
1919
token: ${{ steps.generate-token.outputs.token }}
2020
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/[email protected].1
26+
uses: actions/[email protected].2
2727
with:
2828
# fetch all history so that setuptools-scm works
2929
fetch-depth: 0

.github/workflows/release-baseline-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/[email protected].1
19+
uses: actions/[email protected].2
2020

2121
- name: Setup data version control (DVC)
2222
uses: iterative/[email protected]

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
# Drafts your next Release notes as Pull Requests are merged into "main"
14-
- uses: release-drafter/release-drafter@v5.19.0
14+
- uses: release-drafter/release-drafter@v5.20.0
1515
with:
1616
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
1717
config-name: release-drafter.yml

0 commit comments

Comments
 (0)