diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8cfbaae65f..8f248bdadf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,6 +121,7 @@ jobs: ../.github/workflows/test.sh - name: Make HTML test report available + if: ${{ always() }} uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 with: name: testreport-grass-${{ matrix.grass-version }}-python-${{ matrix.python-version }} diff --git a/src/raster/r.viewshed.exposure/testsuite/test_r_viewshed_exposure.py b/src/raster/r.viewshed.exposure/testsuite/test_r_viewshed_exposure.py index 264a2e9afe..ef0aeab4b1 100755 --- a/src/raster/r.viewshed.exposure/testsuite/test_r_viewshed_exposure.py +++ b/src/raster/r.viewshed.exposure/testsuite/test_r_viewshed_exposure.py @@ -49,7 +49,7 @@ class TestFunctions(TestCase): sample_density=5, seed=50, memory=5000, - nprocs=10, + nprocs=4, quiet=True, overwrite=True, ) @@ -137,7 +137,7 @@ class TestFunctions(TestCase): "stddev": 0.555438, "variance": 0.308511, "coeff_var": 131.549853569661, - "sum": 31834.1479829689, + "sum": 31834.1480130134, # midpoint of 1 and 10 core x64 }, "test_points": { "n": 97340, @@ -241,7 +241,7 @@ def test_lakes(self): self.assertRasterFitsUnivar( raster=output, reference=self.test_results_stats[output], - precision=1e-5, + precision=4e-5, ) def test_points(self):