From fd5b37a6613eb882c09954822d0d36beeccceefc Mon Sep 17 00:00:00 2001 From: franktip Date: Sat, 22 Jun 2024 14:00:50 +0200 Subject: [PATCH] disable ql queries --- .github/workflows/run-experiment.yml | 44 ++++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/run-experiment.yml b/.github/workflows/run-experiment.yml index 118350c..3807b5b 100644 --- a/.github/workflows/run-experiment.yml +++ b/.github/workflows/run-experiment.yml @@ -81,20 +81,20 @@ jobs: with: path: testpilot - - name: Check out CodeQL repo - uses: actions/checkout@v3 - with: - repository: github/codeql - ref: codeql-cli/v2.10.0 - path: codeql-repo - - - name: Install CodeQL 2.10.0 - run: | - wget -q https://github.com/github/codeql-cli-binaries/releases/download/v2.10.0/codeql-linux64.zip - unzip codeql-linux64.zip - echo "$GITHUB_WORKSPACE/codeql" >> $GITHUB_PATH - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - name: Check out CodeQL repo + # uses: actions/checkout@v3 + # with: + # repository: github/codeql + # ref: codeql-cli/v2.10.0 + # path: codeql-repo + + # - name: Install CodeQL 2.10.0 + # run: | + # wget -q https://github.com/github/codeql-cli-binaries/releases/download/v2.10.0/codeql-linux64.zip + # unzip codeql-linux64.zip + # echo "$GITHUB_WORKSPACE/codeql" >> $GITHUB_PATH + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up Node.js uses: actions/setup-node@v3 @@ -158,10 +158,10 @@ jobs: npm run build || npm run prepack || echo 'Error with npm run build and npm run prepack' npm i --no-save mocha - - name: Create CodeQL database - if: ${{ needs.setup.outputs.snippetsFrom == 'code' || needs.setup.outputs.snippetsFrom == 'both' }} - run: | - codeql database create --language=javascript "--source-root=$TESTPILOT_PACKAGE_PATH" -- ./db + # - name: Create CodeQL database + # if: ${{ needs.setup.outputs.snippetsFrom == 'code' || needs.setup.outputs.snippetsFrom == 'both' }} + # run: | + # codeql database create --language=javascript "--source-root=$TESTPILOT_PACKAGE_PATH" -- ./db - name: Setup tmate session uses: mxschmitt/action-tmate@v3 @@ -200,10 +200,10 @@ jobs: node benchmark/editDistance.js --generatedTestsDir $outputdir --existingTestsDir $TESTPILOT_PACKAGE_PATH --pkgName $TESTPILOT_PACKAGE_NAME mv similarityReport.json $outputdir - - name: Add non-trivial coverage data - run: | - cd testpilot - ./.github/non_trivial_coverage.sh "results/$TESTPILOT_PACKAGE_NAME" + # - name: Add non-trivial coverage data + # run: | + # cd testpilot + # ./.github/non_trivial_coverage.sh "results/$TESTPILOT_PACKAGE_NAME" - name: Zip up results run: |