|
69 | 69 | - name: Run smoke tests |
70 | 70 | run: | |
71 | 71 | docker compose --env-file .env_test -f docker-compose-test.yml exec django bash -lc ' |
72 | | - ./tests/test.sh geonode.tests.smoke geonode.tests.test_rest_api geonode.tests.test_search geonode.tests.test_utils geonode.tests.test_headers --duration=30 --failfast |
| 72 | + ./tests/test.sh geonode.tests.smoke geonode.tests.test_rest_api geonode.tests.test_search geonode.tests.test_utils geonode.tests.test_headers --duration=30 --failfast --data-file=.coverage.${{ matrix.os }} |
73 | 73 | ' |
74 | 74 | working-directory: ${{ github.workspace }} |
75 | 75 |
|
|
84 | 84 | run: docker compose --env-file .env_test -f docker-compose-test.yml down -v |
85 | 85 | working-directory: ${{ github.workspace }} |
86 | 86 |
|
87 | | - |
88 | 87 | # ------------------------------------------------- |
89 | 88 | # OTHER TEST SUITES (DEPEND ON SMOKE) |
90 | 89 | # ------------------------------------------------- |
@@ -125,7 +124,7 @@ jobs: |
125 | 124 | run: | |
126 | 125 | docker compose --env-file .env_test -f docker-compose-test.yml exec django bash -lc ' |
127 | 126 | TESTS=$(python -c "import sys; from geonode import settings; print(\" \".join([a + \".tests\" for a in settings.GEONODE_APPS if \"security\" not in a and \"geoserver\" not in a and \"upload\" not in a]))") && |
128 | | - ./tests/test.sh $TESTS --duration=30 --failfast |
| 127 | + ./tests/test.sh $TESTS --duration=30 --failfast --data-file=.coverage.${{ matrix.os }} |
129 | 128 | ' |
130 | 129 | - name: Upload coverage data artifact |
131 | 130 | uses: actions/upload-artifact@v4 |
@@ -173,7 +172,7 @@ jobs: |
173 | 172 | run: | |
174 | 173 | docker compose --env-file .env_test -f docker-compose-test.yml exec django bash -lc ' |
175 | 174 | TESTS=$(python -c "import sys; from geonode import settings; print(\" \".join([a + \".tests\" for a in settings.GEONODE_APPS if \"security\" in a]))") && |
176 | | - ./tests/test.sh $TESTS --duration=30 --failfast |
| 175 | + ./tests/test.sh $TESTS --duration=30 --failfast --data-file=.coverage.${{ matrix.os }} |
177 | 176 | ' |
178 | 177 | - name: Upload coverage data artifact |
179 | 178 | uses: actions/upload-artifact@v4 |
@@ -221,7 +220,7 @@ jobs: |
221 | 220 | run: | |
222 | 221 | docker compose --env-file .env_test -f docker-compose-test.yml exec django bash -lc ' |
223 | 222 | TESTS=$(python -c "import sys; from geonode import settings; print(\" \".join([a + \".tests\" for a in settings.GEONODE_APPS if \"geoserver\" in a]))") && |
224 | | - ./tests/test.sh $TESTS --duration=30 --failfast |
| 223 | + ./tests/test.sh $TESTS --duration=30 --failfast --data-file=.coverage.${{ matrix.os }} |
225 | 224 | ' |
226 | 225 | - name: Upload coverage data artifact |
227 | 226 | uses: actions/upload-artifact@v4 |
@@ -268,7 +267,7 @@ jobs: |
268 | 267 | - name: Run tests |
269 | 268 | run: | |
270 | 269 | docker compose --env-file .env_test -f docker-compose-test.yml exec django bash -lc ' |
271 | | - ./tests/test.sh geonode.api.tests geonode.base.api.tests geonode.layers.api.tests geonode.maps.api.tests geonode.documents.api.tests geonode.geoapps.api.tests --duration=30 --failfast |
| 270 | + ./tests/test.sh geonode.api.tests geonode.base.api.tests geonode.layers.api.tests geonode.maps.api.tests geonode.documents.api.tests geonode.geoapps.api.tests --duration=30 --failfast --data-file=.coverage.${{ matrix.os }} |
272 | 271 | ' |
273 | 272 | - name: Upload coverage data artifact |
274 | 273 | uses: actions/upload-artifact@v4 |
@@ -315,7 +314,7 @@ jobs: |
315 | 314 | - name: Run tests |
316 | 315 | run: | |
317 | 316 | docker compose --env-file .env_test -f docker-compose-test.yml exec django bash -lc ' |
318 | | - ./tests/test.sh geonode.tests.csw geonode.catalogue.backends.tests --duration=30 --failfast |
| 317 | + ./tests/test.sh geonode.tests.csw geonode.catalogue.backends.tests --duration=30 --failfast --data-file=.coverage.${{ matrix.os }} |
319 | 318 | ' |
320 | 319 | - name: Upload coverage data artifact |
321 | 320 | uses: actions/upload-artifact@v4 |
|
0 commit comments