Skip to content

Commit f2a7632

Browse files
authored
chore: remove service tests for macos in CI (#3498)
1 parent 2e3a097 commit f2a7632

File tree

1 file changed

+7
-31
lines changed

1 file changed

+7
-31
lines changed

.github/workflows/test_deploy.yml

Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ jobs:
405405
LANG: en_US.UTF-8
406406
LC_ALL: en_US.UTF-8
407407
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
408-
run: pytest -v -m "not integration and not publish and not serial" tests/api
408+
run: pytest -v -m "not integration and not publish and not serial and not service" tests/api
409409

410410
test-macos-cli:
411411
runs-on: macos-latest
@@ -427,14 +427,14 @@ jobs:
427427
LANG: en_US.UTF-8
428428
LC_ALL: en_US.UTF-8
429429
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
430-
run: pytest -v -m "not integration and not publish and not serial" tests/cli
430+
run: pytest -v -m "not integration and not publish and not serial and not service" tests/cli
431431
- name: Test with pytest (serial)
432432
env:
433433
POETRY_VIRTUALENVS_CREATE: false
434434
LANG: en_US.UTF-8
435435
LC_ALL: en_US.UTF-8
436436
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
437-
run: pytest -v -m "not integration and not publish and serial" tests/cli
437+
run: pytest -v -m "not integration and not publish and serial and not service" tests/cli
438438

439439
test-macos-core:
440440
runs-on: macos-latest
@@ -456,35 +456,13 @@ jobs:
456456
LANG: en_US.UTF-8
457457
LC_ALL: en_US.UTF-8
458458
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
459-
run: pytest -v -m "not integration and not publish and not serial" tests/core
459+
run: pytest -v -m "not integration and not publish and not serial and not service" tests/core
460460
- name: Test with pytest (serial)
461461
env:
462462
LANG: en_US.UTF-8
463463
LC_ALL: en_US.UTF-8
464464
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
465-
run: pytest -v -m "not integration and not publish and serial" tests/core
466-
467-
test-macos-service:
468-
runs-on: macos-latest
469-
needs: [ set-matrix ]
470-
strategy:
471-
max-parallel: 3
472-
matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}
473-
steps:
474-
- uses: actions/[email protected]
475-
with:
476-
fetch-depth: 0
477-
- name: Install dependencies
478-
uses: ./.github/actions/install-macos
479-
with:
480-
python-version: ${{ matrix.python-version }}
481-
- name: Test with pytest
482-
env:
483-
POETRY_VIRTUALENVS_CREATE: false
484-
LANG: en_US.UTF-8
485-
LC_ALL: en_US.UTF-8
486-
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
487-
run: pytest -v -m "not integration and not publish" tests/service
465+
run: pytest -v -m "not integration and not publish and serial and not service" tests/core
488466

489467
test-macos-integration:
490468
runs-on: macos-latest
@@ -518,7 +496,7 @@ jobs:
518496
CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}
519497
CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}
520498
CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}
521-
run: pytest -m "integration and not serial" -v
499+
run: pytest -m "integration and not serial and not service" -v
522500
- name: Start Redis
523501
uses: supercharge/[email protected]
524502
- name: Test with pytest (serial)
@@ -531,7 +509,7 @@ jobs:
531509
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
532510
OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}
533511
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
534-
run: pytest -m "integration and serial" -v
512+
run: pytest -m "integration and serial and not service" -v
535513

536514
publish-pypi:
537515
runs-on: ubuntu-latest
@@ -573,7 +551,6 @@ jobs:
573551
test-linux-service,
574552
test-macos-cli,
575553
test-macos-core,
576-
test-macos-service,
577554
]
578555
steps:
579556
- uses: actions/[email protected]
@@ -602,7 +579,6 @@ jobs:
602579
test-linux-service,
603580
test-macos-cli,
604581
test-macos-core,
605-
test-macos-service,
606582
]
607583
if: startsWith(github.ref, 'refs/tags/')
608584
steps:

0 commit comments

Comments
 (0)