[GRASS-git] [OSGeo/grass] 0b3b2e: tests: Run gunittest-based tests with pytest that ...

Edouard Choinière noreply at github.com
Wed May 7 09:04:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 0b3b2ebd75aa1c80508763b9ed3f3dbb1f421fc6
      https://github.com/OSGeo/grass/commit/0b3b2ebd75aa1c80508763b9ed3f3dbb1f421fc6
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M .github/workflows/macos.yml
    M .github/workflows/osgeo4w.yml
    M .github/workflows/pytest.yml
    A .github/workflows/pytest_args_deselect.txt
    A .github/workflows/pytest_args_gunittest.txt
    M pyproject.toml

  Log Message:
  -----------
  tests: Run gunittest-based tests with pytest that don’t require gunittest (#5584)

* pytest: Require pytest 8.2

* pytest: allow collecting more test files

* pytest: Ignore collecting files in `testsuite/data` folders

* pytest: Ignore running testsuite tests in normal runs

* pytest: Run gunittest-based tests in a separate step in CI

* CI(pytest): refactor pytest arguments into a file

* pytest: remove common arg from gunittest args

* pytest: Deselect crashing tests that use ctypes functions directly and note which tests run successfully

* pytest: Extract gunittest deselect list to a separate arg file

* pytest: ignore deprecated python/grass/temporal/unit_tests.py

* CI(pytest): Run gunittest-based tests without default report args

CI(pytest): Remove commented out ci args

* CI(pytest): Show short traceback for gunittest-based tests

* CI(pytest): Reset report list at end of run

* CI(pytest): Only run passing gunittest-based tests

* CI(OSGeo4w): Add folder of C:\OSGeo4W\opt\grass\grass85.bat to path for running gunittest-based tests with pytest

* tests: Deselect non-fixed Windows test

* CI(OSGeo4W): Use standard pytest args for running gunittest-based tests with pytest



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