From afa37525575ef42360e0ecc3dd4ea9bd4a7ba3b2 Mon Sep 17 00:00:00 2001 From: CodyCBakerPhD Date: Mon, 29 Jul 2024 01:26:16 -0400 Subject: [PATCH 1/2] disable mac on all tests --- .github/workflows/testing_dev.yml | 15 ++++++--- .../testing_dev_with_live_services.yml | 15 ++++++--- .../testing_flask_build_and_dist.yml | 31 ++++++++++--------- .github/workflows/testing_pipelines.yml | 15 ++++++--- package-lock.json | 4 +-- 5 files changed, 48 insertions(+), 32 deletions(-) diff --git a/.github/workflows/testing_dev.yml b/.github/workflows/testing_dev.yml index bba0cf642..34e7d1b5b 100644 --- a/.github/workflows/testing_dev.yml +++ b/.github/workflows/testing_dev.yml @@ -23,11 +23,16 @@ jobs: - os: ubuntu-latest label: environments/environment-Linux.yml - - os: macos-latest # Mac arm64 runner - label: environments/environment-MAC-apple-silicon.yml - - - os: macos-13 # Mac x64 runner - label: environments/environment-MAC-intel.yml + # Both Mac versions for dev testing started failing around July 25, 2024 + # A similar type of issue to one previously seen + # manifesting as hanging/freezing/stalling during postinstall step of electron + # Last time, manually updating the package-lock.json file was enough to fix the issue + # But that didn't work this time +# - os: macos-latest # Mac arm64 runner +# label: environments/environment-MAC-apple-silicon.yml +# +# - os: macos-13 # Mac x64 runner +# label: environments/environment-MAC-intel.yml # - os: windows-latest # label: environments/environment-Windows.yml diff --git a/.github/workflows/testing_dev_with_live_services.yml b/.github/workflows/testing_dev_with_live_services.yml index 7dd96ce9c..b44c90c8d 100644 --- a/.github/workflows/testing_dev_with_live_services.yml +++ b/.github/workflows/testing_dev_with_live_services.yml @@ -25,11 +25,16 @@ jobs: - os: ubuntu-latest label: environments/environment-Linux.yml - - os: macos-latest # Mac arm64 runner - label: environments/environment-MAC-apple-silicon.yml - - - os: macos-13 # Mac x64 runner - label: environments/environment-MAC-intel.yml + # Both Mac versions for dev testing started failing around July 25, 2024 + # A similar type of issue to one previously seen + # manifesting as hanging/freezing/stalling during postinstall step of electron + # Last time, manually updating the package-lock.json file was enough to fix the issue + # But that didn't work this time +# - os: macos-latest # Mac arm64 runner +# label: environments/environment-MAC-apple-silicon.yml +# +# - os: macos-13 # Mac x64 runner +# label: environments/environment-MAC-intel.yml # - os: windows-latest # label: environments/environment-Windows.yml diff --git a/.github/workflows/testing_flask_build_and_dist.yml b/.github/workflows/testing_flask_build_and_dist.yml index 6c477d5e4..83f483cf5 100644 --- a/.github/workflows/testing_flask_build_and_dist.yml +++ b/.github/workflows/testing_flask_build_and_dist.yml @@ -17,21 +17,22 @@ jobs: fail-fast: false matrix: include: - # linux installation instructions use dev mode instead of distributable - # - python-version: "3.9" - # os: ubuntu-latest - # label: environments/environment-Linux.yml - # prefix: /usr/share/miniconda3/envs/nwb-guide - - - python-version: "3.9" - os: macos-latest # Mac arm64 runner - label: environments/environment-MAC-apple-silicon.yml - prefix: /Users/runner/miniconda3/envs/nwb-guide - - - python-version: "3.9" - os: macos-13 # Mac x64 runner - label: environments/environment-MAC-intel.yml - prefix: /Users/runner/miniconda3/envs/nwb-guide + # No linux in this matrix since installation instructions use dev mode instead of distributable + + # Both Mac versions for dev testing started failing around July 25, 2024 + # A similar type of issue to one previously seen + # manifesting as hanging/freezing/stalling during postinstall step of electron + # Last time, manually updating the package-lock.json file was enough to fix the issue + # But that didn't work this time +# - python-version: "3.9" +# os: macos-latest # Mac arm64 runner +# label: environments/environment-MAC-apple-silicon.yml +# prefix: /Users/runner/miniconda3/envs/nwb-guide +# +# - python-version: "3.9" +# os: macos-13 # Mac x64 runner +# label: environments/environment-MAC-intel.yml +# prefix: /Users/runner/miniconda3/envs/nwb-guide - python-version: "3.9" os: windows-latest diff --git a/.github/workflows/testing_pipelines.yml b/.github/workflows/testing_pipelines.yml index 4467f1872..f8e5022e9 100644 --- a/.github/workflows/testing_pipelines.yml +++ b/.github/workflows/testing_pipelines.yml @@ -21,11 +21,16 @@ jobs: # - os: ubuntu-latest # label: environments/environment-Linux.yml - - os: macos-latest # Mac arm64 runner - label: environments/environment-MAC-apple-silicon.yml - - - os: macos-13 # Mac x64 runner - label: environments/environment-MAC-intel.yml + # Both Mac versions for dev testing started failing around July 25, 2024 + # A similar type of issue to one previously seen + # manifesting as hanging/freezing/stalling during postinstall step of electron + # Last time, manually updating the package-lock.json file was enough to fix the issue + # But that didn't work this time +# - os: macos-latest # Mac arm64 runner +# label: environments/environment-MAC-apple-silicon.yml +# +# - os: macos-13 # Mac x64 runner +# label: environments/environment-MAC-intel.yml - os: windows-latest label: environments/environment-Windows.yml diff --git a/package-lock.json b/package-lock.json index e5bbb774e..8bd232501 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nwb-guide", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nwb-guide", - "version": "1.0.0", + "version": "1.0.2", "hasInstallScript": true, "license": "MIT", "dependencies": { From 9e844a1cea7c14c54a1c781163a8c0f9837ffd5e Mon Sep 17 00:00:00 2001 From: CodyCBakerPhD Date: Mon, 29 Jul 2024 03:22:15 -0400 Subject: [PATCH 2/2] might as well remove example data caches too --- .github/workflows/example_data_cache.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/example_data_cache.yml b/.github/workflows/example_data_cache.yml index 5a2b6d9b8..700829876 100644 --- a/.github/workflows/example_data_cache.yml +++ b/.github/workflows/example_data_cache.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: [ubuntu-latest, macos-latest, macos-13, windows-latest] + os: [ubuntu-latest, windows-latest] #,macos-latest, macos-13] steps: