From ea2826a3239eabe35893528bebc61d6d467938fe Mon Sep 17 00:00:00 2001 From: gnikit Date: Fri, 1 Mar 2024 00:31:55 +0000 Subject: [PATCH 1/2] ci(debug): change workflow --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 997622e5..c1ac09f6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -42,12 +42,12 @@ jobs: - name: Test Syntax Highlighting run: npm run test:grammar - name: Test Unittests - uses: GabrielBB/xvfb-action@v1 + uses: coactions/setup-xvfb@v1 with: run: npm run test # This will not fail the job if tests fail so we have to npm test separately - name: Coverage report - uses: GabrielBB/xvfb-action@v1 + uses: coactions/setup-xvfb@v1 with: run: npm run coverage - name: Upload coverage to Codecov From 87ebc63a687dc4fbec29a9c206bf15061f8063c6 Mon Sep 17 00:00:00 2001 From: gnikit Date: Fri, 1 Mar 2024 00:37:05 +0000 Subject: [PATCH 2/2] ci(debug): disable workflows --- .github/workflows/main.yaml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c1ac09f6..6458721e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -44,14 +44,17 @@ jobs: - name: Test Unittests uses: coactions/setup-xvfb@v1 with: - run: npm run test + run: | + npm run pretest + npm run test:integration + # This will not fail the job if tests fail so we have to npm test separately - - name: Coverage report - uses: coactions/setup-xvfb@v1 - with: - run: npm run coverage - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: true + # - name: Coverage report + # uses: coactions/setup-xvfb@v1 + # with: + # run: npm run coverage + # - name: Upload coverage to Codecov + # uses: codecov/codecov-action@v3 + # with: + # token: ${{ secrets.CODECOV_TOKEN }} + # fail_ci_if_error: true