@@ -371,54 +371,58 @@ jobs:
371371 flag-name : backend-functional
372372 parallel : true
373373
374- backend-tests-memgraph :
375- if : |
376- always() && !cancelled() &&
377- !contains(needs.*.result, 'failure') &&
378- !contains(needs.*.result, 'cancelled') &&
379- needs.files-changed.outputs.backend == 'true'
380- needs : ["files-changed", "yaml-lint", "python-lint"]
381- runs-on :
382- group : huge-runners
383- timeout-minutes : 45
384- strategy :
385- fail-fast : false
386- matrix :
387- include :
388- - name : backend-tests-unit-memgraph
389- env :
390- INFRAHUB_DB_TYPE : memgraph
391- # - name: backend-tests-unit-nats
392- # env:
393- # INFRAHUB_DB_TYPE: memgraph
394- # INFRAHUB_USE_NATS: 1
395- # INFRAHUB_BROKER_DRIVER: nats
396- # INFRAHUB_CACHE_DRIVER: nats
397- name : ${{ matrix.name }}
398- env : ${{ matrix.env }}
399- steps :
400- - name : " Check out repository code"
401- uses : " actions/checkout@v4"
402- with :
403- submodules : true
404- - name : Set up Python
405- uses : actions/setup-python@v5
406- with :
407- python-version : ' 3.12'
408- - name : " Setup git credentials"
409- run : " git config --global user.name 'Infrahub' && \
410- git config --global user.email '[email protected] ' && \ 411- git config --global --add safe.directory '*' && \
412- git config --global credential.usehttppath true && \
413- git config --global credential.helper /usr/local/bin/infrahub-git-credential"
414- - name : " Setup Python environment"
415- run : |
416- poetry config virtualenvs.create true --local
417- poetry env use 3.12
418- - name : " Install dependencies"
419- run : " poetry install --no-interaction --no-ansi"
420- - name : " Unit Tests"
421- run : " poetry run invoke backend.test-unit"
374+ # ---------------------------------------------------
375+ # DISABLING Memgraph for now :(
376+ # Tests where too flaky in 2.19 and completely broken in 2.20.1
377+ # ---------------------------------------------------
378+ # backend-tests-memgraph:
379+ # if: |
380+ # always() && !cancelled() &&
381+ # !contains(needs.*.result, 'failure') &&
382+ # !contains(needs.*.result, 'cancelled') &&
383+ # needs.files-changed.outputs.backend == 'true'
384+ # needs: ["files-changed", "yaml-lint", "python-lint"]
385+ # runs-on:
386+ # group: huge-runners
387+ # timeout-minutes: 45
388+ # strategy:
389+ # fail-fast: false
390+ # matrix:
391+ # include:
392+ # - name: backend-tests-unit-memgraph
393+ # env:
394+ # INFRAHUB_DB_TYPE: memgraph
395+ # # - name: backend-tests-unit-nats
396+ # # env:
397+ # # INFRAHUB_DB_TYPE: memgraph
398+ # # INFRAHUB_USE_NATS: 1
399+ # # INFRAHUB_BROKER_DRIVER: nats
400+ # # INFRAHUB_CACHE_DRIVER: nats
401+ # name: ${{ matrix.name }}
402+ # env: ${{ matrix.env }}
403+ # steps:
404+ # - name: "Check out repository code"
405+ # uses: "actions/checkout@v4"
406+ # with:
407+ # submodules: true
408+ # - name: Set up Python
409+ # uses: actions/setup-python@v5
410+ # with:
411+ # python-version: '3.12'
412+ # - name: "Setup git credentials"
413+ # run: "git config --global user.name 'Infrahub' && \
414+ # git config --global user.email '[email protected] ' && \ 415+ # git config --global --add safe.directory '*' && \
416+ # git config --global credential.usehttppath true && \
417+ # git config --global credential.helper /usr/local/bin/infrahub-git-credential"
418+ # - name: "Setup Python environment"
419+ # run: |
420+ # poetry config virtualenvs.create true --local
421+ # poetry env use 3.12
422+ # - name: "Install dependencies"
423+ # run: "poetry install --no-interaction --no-ansi"
424+ # - name: "Unit Tests"
425+ # run: "poetry run invoke backend.test-unit"
422426
423427 backend-validate-generated :
424428 if : |
0 commit comments