From e93a8dd27f1d16e7918ce5dd047d153ad29e272c Mon Sep 17 00:00:00 2001 From: Toine Hartman Date: Tue, 17 Dec 2024 17:17:12 +0100 Subject: [PATCH] Temporarily disable other tests. --- .github/workflows/build.yaml | 8 ++++---- rascal-vscode-extension/src/test/vscode-suite/ide.test.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a8d2fe20..606e0274 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,7 +49,7 @@ jobs: strategy: matrix: os: [buildjet-4vcpu-ubuntu-2204, windows-latest, macos-latest] - fail-fast: true + fail-fast: false env: CODE_VERSION: "1.82.3" runs-on: ${{ matrix.os }} @@ -94,7 +94,7 @@ jobs: env: DELAY_FACTOR: 10 _JAVA_OPTIONS: '-Xmx5G' - run: npx extest setup-and-run out/test/vscode-suite/*.test.js --storage uitests + run: npx extest setup-and-run out/test/vscode-suite/ide.test.js --storage uitests - name: "UI test (mac)" shell: bash @@ -103,7 +103,7 @@ jobs: env: DELAY_FACTOR: 15 _JAVA_OPTIONS: '-Xmx5G' - run: npx extest setup-and-run out/test/vscode-suite/*.test.js --storage uitests + run: npx extest setup-and-run out/test/vscode-suite/ide.test.js --storage uitests - name: "UI test (ubuntu)" shell: bash @@ -112,7 +112,7 @@ jobs: env: DELAY_FACTOR: 8 _JAVA_OPTIONS: '-Xmx5G' # we have 16gb of memory, make sure LSP, REPL & DSL-LSP can start - run: xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npx extest setup-and-run out/test/vscode-suite/*.test.js --storage uitests + run: xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npx extest setup-and-run out/test/vscode-suite/ide.test.js --storage uitests - name: Upload Screenshots uses: actions/upload-artifact@v4 diff --git a/rascal-vscode-extension/src/test/vscode-suite/ide.test.ts b/rascal-vscode-extension/src/test/vscode-suite/ide.test.ts index 4f505f69..181c04fe 100644 --- a/rascal-vscode-extension/src/test/vscode-suite/ide.test.ts +++ b/rascal-vscode-extension/src/test/vscode-suite/ide.test.ts @@ -158,7 +158,7 @@ describe('IDE', function () { }, Delays.normal, "Cursor should have moved to line that contains the println function"); }); - it ("rename works", async() => { + it("rename works", async() => { const editor = await ide.openModule(TestWorkspace.libFile); await editor.moveCursor(7, 15); @@ -188,7 +188,7 @@ describe('IDE', function () { expect(editorText).to.contain("i -2"); }); - it("renaming files works", async() => { + it.only("renaming files works", async() => { const newDir = path.join(TestWorkspace.libProject, "src", "main", "rascal", "lib"); await fs.mkdir(newDir, {recursive: true});