From cf98b84279138341bf585eddf1d2fc4c53df8e42 Mon Sep 17 00:00:00 2001 From: Aditya Sharad <6874315+adityasharad@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:19:45 -0700 Subject: [PATCH] ATM/JS: Remove test workflow These queries are deprecated, and upcoming nightly CLIs will no longer support their experimental functionality. To avoid test breakage, remove this workflow. The code and tests can be cleaned up as future follow-up. --- .github/workflows/js-ml-tests.yml | 65 ------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 .github/workflows/js-ml-tests.yml diff --git a/.github/workflows/js-ml-tests.yml b/.github/workflows/js-ml-tests.yml deleted file mode 100644 index 866ca14053e..00000000000 --- a/.github/workflows/js-ml-tests.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: JS ML-powered queries tests - -on: - push: - paths: - - "javascript/ql/experimental/adaptivethreatmodeling/**" - - .github/workflows/js-ml-tests.yml - - .github/actions/fetch-codeql/action.yml - - codeql-workspace.yml - branches: - - main - - "rc/*" - pull_request: - paths: - - "javascript/ql/experimental/adaptivethreatmodeling/**" - - .github/workflows/js-ml-tests.yml - - .github/actions/fetch-codeql/action.yml - - codeql-workspace.yml - workflow_dispatch: - -defaults: - run: - working-directory: javascript/ql/experimental/adaptivethreatmodeling - -jobs: - qltest: - name: Test QL - runs-on: ubuntu-latest-xl - steps: - - uses: actions/checkout@v4 - - - uses: ./.github/actions/fetch-codeql - - - name: Install pack dependencies - run: | - for pack in modelbuilding src test; do - codeql pack install --mode verify -- "${pack}" - done - - - name: Cache compilation cache - id: query-cache - uses: ./.github/actions/cache-query-compilation - with: - key: js-ml-test - - - name: Check QL compilation - run: | - codeql query compile \ - --check-only \ - --ram 50000 \ - --additional-packs "${{ github.workspace }}" \ - --threads=0 \ - --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \ - -- \ - lib modelbuilding src - - - name: Run QL tests - run: | - codeql test run \ - --threads=0 \ - --ram 50000 \ - --additional-packs "${{ github.workspace }}" \ - --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \ - -- \ - test \ No newline at end of file