Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Dec 4, 2023
1 parent 249fba0 commit 6a4a17f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

name: Run macOS-based netCDF Tests

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

name: Run S3 netCDF Tests (under Ubuntu Linux)

on: [workflow_dispatch]
on: [push,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

name: Run Ubuntu/Linux netCDF Tests

on: [pull_request, workflow_dispatch]
on: [push,pull_request, workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_win_cygwin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Run Cygwin-based tests

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_win_mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Run MSYS2, MinGW64-based Tests (Not Visual Studio)
env:
CPPFLAGS: "-D_BSD_SOURCE"

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
3 changes: 3 additions & 0 deletions nczarr_test/ut_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ simplecreate(void)
NCZMAP* map = NULL;
char* path = NULL;

if((stat = nczmap_truncate(impl,url)))
goto done;

if((stat = nczmap_create(impl,url,0,0,NULL,&map)))
goto done;

Expand Down
4 changes: 4 additions & 0 deletions nczarr_test/ut_mapapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ simplecreate(void)

title(__func__);

if((stat = nczmap_truncate(impl,url)))
goto done;
report(PASS,"truncate",map);

switch(stat = nczmap_create(impl,url,0,0,NULL,&map)) {
case NC_EOBJECT: break; /* already exists */
case NC_NOERR: break; /*created*/
Expand Down

0 comments on commit 6a4a17f

Please sign in to comment.