Skip to content

Commit 822bc84

Browse files
authored
Update AZFP test data in v0.11.1a2 assets (#1593)
* update to use azfp in v0.11.1a2 * substitue Ana06/get-changed-files with tj-actions/changed-files * add debugging step * list ek60 content for comparison * update asset without hidden files and sha256 sum * remove listing azfp and ek60 content fetched by pooch * clean up updating to tj-actions
1 parent 9165ca4 commit 822bc84

5 files changed

Lines changed: 9 additions & 11 deletions

File tree

.ci_helpers/docker/setup-services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
def get_pooch_data_path() -> Path:
3131
"""Return path to the Pooch test data cache."""
32-
ver = os.getenv("ECHOPYPE_DATA_VERSION", "v0.11.1a1")
32+
ver = os.getenv("ECHOPYPE_DATA_VERSION", "v0.11.1a2")
3333
cache_dir = Path(pooch.os_cache("echopype")) / ver
3434
if not cache_dir.exists():
3535
raise FileNotFoundError(

.ci_helpers/setup-services-windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
def get_pooch_cache() -> pathlib.Path:
4040
"""Return the Pooch cache dir for the configured dataset version."""
41-
ver = os.getenv("ECHOPYPE_DATA_VERSION", "v0.11.1a1")
41+
ver = os.getenv("ECHOPYPE_DATA_VERSION", "v0.11.1a2")
4242
root = pathlib.Path(pooch.os_cache("echopype"))
4343
path = root / ver
4444
path.mkdir(parents=True, exist_ok=True)

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
env:
1111
NUM_WORKERS: 2
1212
USE_POOCH: "True"
13-
ECHOPYPE_DATA_VERSION: v0.11.1a1
13+
ECHOPYPE_DATA_VERSION: v0.11.1a2
1414
ECHOPYPE_DATA_BASEURL: https://github.com/OSOceanAcoustics/echopype/releases/download/{version}/
1515
XDG_CACHE_HOME: ${{ github.workspace }}/.cache
1616

.github/workflows/pr.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
env:
1313
NUM_WORKERS: 2
1414
USE_POOCH: "True"
15-
ECHOPYPE_DATA_VERSION: v0.11.1a1
15+
ECHOPYPE_DATA_VERSION: v0.11.1a2
1616
ECHOPYPE_DATA_BASEURL: https://github.com/OSOceanAcoustics/echopype/releases/download/{version}/
1717
XDG_CACHE_HOME: ${{ github.workspace }}/.cache
1818

@@ -88,12 +88,10 @@ jobs:
8888

8989
- name: Finding changed files
9090
id: files
91-
uses: Ana06/get-changed-files@v2.3.0
92-
with:
93-
format: 'csv'
91+
uses: tj-actions/changed-files@v45
9492

9593
- name: Print Changed files
96-
run: echo "${{ steps.files.outputs.added_modified_renamed }}"
94+
run: echo "${{ steps.files.outputs.all_changed_files }}"
9795

9896
- name: Pre-fetch Pooch test data
9997
run: |

echopype/tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pooch
99

1010
# Lock to the known-good assets release (can be overridden via env if needed)
11-
ver = os.getenv("ECHOPYPE_DATA_VERSION", "v0.11.1a1")
11+
ver = os.getenv("ECHOPYPE_DATA_VERSION", "v0.11.1a2")
1212
base = os.getenv(
1313
"ECHOPYPE_DATA_BASEURL",
1414
"https://github.com/OSOceanAcoustics/echopype/releases/download/{version}/",
@@ -24,10 +24,10 @@
2424
"es60.zip", "es70.zip", "es80.zip", "legacy_datatree.zip",
2525
]
2626

27-
# v0.11.1a1 checksums (GitHub release assets)
27+
# v0.11.1a2 checksums (GitHub release assets)
2828
registry = {
2929
"ad2cp.zip": "sha256:78c634c7345991177b267c4cbb31f391990d2629b7f4a546da20d5126978b98a",
30-
"azfp.zip": "sha256:5f6a57c5dce323d4cb280c72f0d64c15f79be69b02f4f3a1228fc519d48b690f",
30+
"azfp.zip": "sha256:fc75b48c81f266ce70d9db79a986fe8de4399c93bef35119acdc17a2d84aed49",
3131
"azfp6.zip": "sha256:98228329333064fb4b44d3044296c79d58ac22f6d81f7f22cf770bacf0e882fd",
3232
"ea640.zip": "sha256:49f70bd6f2355cb3c4c7a5b31fc00f7ae8c8a9ae888f0df1efe759032f9580df",
3333
"ecs.zip": "sha256:dcc312baa1e9da4488f33bef625b1f86c8a92e3262e34fc90ccd0a4f90d1e313",

0 commit comments

Comments
 (0)