diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ddf7e982d..9e9058223 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -292,24 +292,24 @@ jobs: packages_dir: dist_opengate/ skip_existing: true - ssh_session: - runs-on: windows-latest - needs: [build_wheel] - steps: - - uses: actions/download-artifact@v3 - with: - name: dist - path: dist/ - - name: Set up Python 3.9 - uses: actions/setup-python@v4 - with: - python-version: 3.9 - architecture: 'x64' - - name: Start SSH session - uses: luchihoratiu/debug-via-ssh@main - with: - NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} - SSH_PASS: ${{ secrets.SSH_PASS }} +# ssh_session: +# runs-on: windows-latest +# needs: [build_wheel] +# steps: +# - uses: actions/download-artifact@v3 +# with: +# name: dist +# path: dist/ +# - name: Set up Python 3.9 +# uses: actions/setup-python@v4 +# with: +# python-version: 3.9 +# architecture: 'x64' +# - name: Start SSH session +# uses: luchihoratiu/debug-via-ssh@main +# with: +# NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} +# SSH_PASS: ${{ secrets.SSH_PASS }} test_wheel: runs-on: ${{ matrix.os }} diff --git a/opengate/bin/opengate_tests b/opengate/bin/opengate_tests index 70d52fbd2..4ca4964e5 100755 --- a/opengate/bin/opengate_tests +++ b/opengate/bin/opengate_tests @@ -74,6 +74,8 @@ def go(test_id): continue if os.name == "nt" and "_MT" in f: continue + if os.name == "nt" and f == "test014_engine_2.py": + continue if not torch and f in torch_tests: print(f"Ignoring: {f:<40} (Torch is not available) ") continue diff --git a/opengate/tests/src/test015_iec_phantom_3.py b/opengate/tests/src/test015_iec_phantom_3.py index de39f2b57..ba33dc799 100755 --- a/opengate/tests/src/test015_iec_phantom_3.py +++ b/opengate/tests/src/test015_iec_phantom_3.py @@ -70,7 +70,7 @@ sec = gate.g4_units("second") sim.run_timing_intervals = [[0, 1 * sec]] -print(sim.volume_manager.dump_tree_of_volumes()) +print(sim.dump_tree_of_volumes()) print(sim.source_manager.dump()) # initialize & start diff --git a/opengate/tests/src/test028_ge_nm670_spect_3_proj_blur.py b/opengate/tests/src/test028_ge_nm670_spect_3_proj_blur.py index 50e825271..d8a1e8841 100755 --- a/opengate/tests/src/test028_ge_nm670_spect_3_proj_blur.py +++ b/opengate/tests/src/test028_ge_nm670_spect_3_proj_blur.py @@ -9,7 +9,7 @@ sim = gate.Simulation() # main description -spect = create_spect_simu(sim, paths, number_of_threads=2) +spect = create_spect_simu(sim, paths, number_of_threads=1) # change the digitizer to add blurring between the adder and the energy window mm = gate.g4_units("mm") diff --git a/opengate/tests/src/test054_parallel_geometry.py b/opengate/tests/src/test054_parallel_geometry.py index 717aea34d..50625ac7d 100755 --- a/opengate/tests/src/test054_parallel_geometry.py +++ b/opengate/tests/src/test054_parallel_geometry.py @@ -14,7 +14,7 @@ # ui.visu_type = "vrml" ui.visu = False ui.check_volumes_overlap = True -ui.number_of_threads = 2 +ui.number_of_threads = 1 p = sim.get_physics_user_info() p.physics_list_name = "G4EmStandardPhysics_option4"