From 85272e3787434ddbdd0439f93bf19e9e4838ff0a Mon Sep 17 00:00:00 2001 From: tiulpin Date: Tue, 14 May 2024 18:34:19 +0200 Subject: [PATCH] :bricks: Add `clang` integration tests --- .github/workflows/node.yml | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 7b4b4df5..0b471ba9 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -1,6 +1,7 @@ name: 'node' on: workflow_dispatch: + pull_request: paths-ignore: - 'orb/**' @@ -104,11 +105,23 @@ jobs: matrix: os: [ubuntu-latest] directory: [ - 'tests/dotnet', 'tests/duplicates', 'tests/go', 'tests/java', 'tests/js', 'tests/py_error' + 'tests/cpp', 'tests/dotnet', 'tests/duplicates', 'tests/go', 'tests/java', 'tests/js', 'tests/py_error' ] arguments: [''] pr: [ 'true', 'false' ] include: + - directory: 'tests/dotnet' + arguments: '--ide,QDNET' + os: 'windows-latest' + pr: 'false' + - directory: 'tests/dotnet' + arguments: '--ide,QDNET' + os: 'windows-latest' + pr: 'true' + - directory: 'tests/dotnet' + os: 'ubuntu-latest' + arguments: '-l,jetbrains/qodana-cdnet:2024.1-eap' + pr: 'false' # TODO: add true when pr-mode is available for dotnet-community - directory: 'tests/java' arguments: '-l,jetbrains/qodana-jvm-community' os: 'ubuntu-latest' @@ -133,18 +146,11 @@ jobs: arguments: '-l,jetbrains/qodana-python-community' os: 'ubuntu-latest' pr: 'false' - - directory: 'tests/dotnet' - arguments: '--ide,QDNET' - os: 'windows-latest' - pr: 'false' - - directory: 'tests/dotnet' - arguments: '--ide,QDNET' - os: 'windows-latest' - pr: 'true' - - directory: 'tests/dotnet' + exclude: # TODO: remove this block when pr-mode is available for clang + - directory: 'tests/cpp' + arguments: '' os: 'ubuntu-latest' - arguments: '-l,jetbrains/qodana-cdnet:2024.1-eap' - pr: 'false' # TODO: set to true + pr: 'true' steps: - uses: actions/checkout@v4 with: @@ -182,6 +188,9 @@ jobs: env: QODANA_TOKEN: ${{ secrets.QODANA_PROJECT_TESTS_TOKEN }} QODANA_PR_SHA: ${{ env.QODANA_PR_SHA }} + - name: Show logs + continue-on-error: true + run: cat ${{ runner.temp }}/qodana/results/log/idea.log azure-dev-release: runs-on: ubuntu-latest