From a515c47ed16f686cd77adc5544ab8fe1705b6103 Mon Sep 17 00:00:00 2001 From: Yunchu Lee Date: Tue, 25 Jun 2024 14:24:50 +0900 Subject: [PATCH] Disable integration test in pr-merge workflow (#3677) --- .github/workflows/pre_merge.yaml | 68 ++++++++++++++++---------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/pre_merge.yaml b/.github/workflows/pre_merge.yaml index 2157bbf10a0..4ac64589939 100644 --- a/.github/workflows/pre_merge.yaml +++ b/.github/workflows/pre_merge.yaml @@ -90,37 +90,37 @@ jobs: chmod +x codecov ./codecov -t ${{ secrets.CODECOV_TOKEN }} --sha $COMMIT_ID -U $HTTP_PROXY -f .tox/coverage_unit-test-${{ matrix.tox-env }}.xml -F ${{ matrix.tox-env }} - Integration-Test: - runs-on: [self-hosted, linux, x64, dev] - needs: Unit-Test - strategy: - fail-fast: false - matrix: - include: - - task: "action" - - task: "classification" - - task: "detection" - - task: "instance_segmentation" - - task: "semantic_segmentation" - - task: "visual_prompting" - - task: "anomaly" - name: Integration-Test-${{ matrix.task }}-py310 - # This is what will cancel the job concurrency - concurrency: - group: ${{ github.workflow }}-Integration-${{ github.event.pull_request.number || github.ref }}-${{ matrix.task }} - cancel-in-progress: true - steps: - - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Install Python - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 - with: - python-version: "3.10" - - name: Install tox - run: | - python -m pip install --require-hashes --no-deps -r .ci/requirements.txt - pip-compile --generate-hashes --output-file=/tmp/requirements.txt --extra=ci_tox pyproject.toml - python -m pip install --require-hashes --no-deps -r /tmp/requirements.txt - rm /tmp/requirements.txt - - name: Run Integration Test - run: tox -vv -e integration-test-${{ matrix.task }} + # Integration-Test: + # runs-on: [self-hosted, linux, x64, dev] + # needs: Unit-Test + # strategy: + # fail-fast: false + # matrix: + # include: + # - task: "action" + # - task: "classification" + # - task: "detection" + # - task: "instance_segmentation" + # - task: "semantic_segmentation" + # - task: "visual_prompting" + # - task: "anomaly" + # name: Integration-Test-${{ matrix.task }}-py310 + # # This is what will cancel the job concurrency + # concurrency: + # group: ${{ github.workflow }}-Integration-${{ github.event.pull_request.number || github.ref }}-${{ matrix.task }} + # cancel-in-progress: true + # steps: + # - name: Checkout repository + # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + # - name: Install Python + # uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 + # with: + # python-version: "3.10" + # - name: Install tox + # run: | + # python -m pip install --require-hashes --no-deps -r .ci/requirements.txt + # pip-compile --generate-hashes --output-file=/tmp/requirements.txt --extra=ci_tox pyproject.toml + # python -m pip install --require-hashes --no-deps -r /tmp/requirements.txt + # rm /tmp/requirements.txt + # - name: Run Integration Test + # run: tox -vv -e integration-test-${{ matrix.task }}