[GRASS-git] [OSGeo/grass] fa6d31: pytest(macOS): Run pytest tests on macOS (#4163)

Edouard Choinière noreply at github.com
Wed Aug 14 10:03:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: fa6d31d11a50fc47f56b4fb32ef2096d697fb255
      https://github.com/OSGeo/grass/commit/fa6d31d11a50fc47f56b4fb32ef2096d697fb255
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M .github/workflows/macos.yml
    M .github/workflows/macos_dependencies.txt
    M lib/gis/tests/lib_gis_env_test.py
    M python/grass/jupyter/tests/seriesmap_test.py
    M python/grass/jupyter/tests/timeseriesmap_test.py
    M python/grass/pygrass/modules/tests/grass_pygrass_grid_test.py
    M python/grass/script/tests/grass_script_core_location_test.py
    M python/grass/script/tests/grass_script_setup_test.py
    M temporal/t.rast.list/tests/t_rast_list_test.py

  Log Message:
  -----------
  pytest(macOS): Run pytest tests on macOS (#4163)

* CI(macOS): Add pytest dependencies to macOS workflow

* CI(macOS): Run pytest tests on macOS

* pytest: Use pytest.importorskip for optional imports

* Mark unpickable tests with xfail when using spawn start method

* grass.script: Example test using functools.partial that works with spawn start method

* CI(macOS): Use if: ${{ !cancelled() }} when appropriate

* Update macos_dependencies.txt

* Apply suggestions from code review

Co-authored-by: Nicklas Larsson <n_larsson at yahoo.com>

* Add ipython and pyyaml to macos_dependencies.txt

---------

Co-authored-by: Nicklas Larsson <n_larsson at yahoo.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list