From 0f0f38f42042328146da5c9171c243a482344ba5 Mon Sep 17 00:00:00 2001 From: Zacharias Fragkiadakis Date: Sun, 13 Oct 2024 18:48:02 +0300 Subject: [PATCH] --wip-- --- .github/workflows/ci.yaml | 8 ++++---- .github/workflows/commit-linting.yaml | 4 ++-- .github/workflows/end-to-end-tests.yaml | 6 +++--- .github/workflows/pr-linting.yaml | 4 ++-- test/specs/test.e2e.ts | 2 +- wdio.conf.ts | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0aa36343..6c554fea 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,9 +1,9 @@ name: CI on: - push: - branches: [ main ] - pull_request: - branches: [ main ] + # push: + # branches: [ main ] + # pull_request: + # branches: [ main ] jobs: audit: diff --git a/.github/workflows/commit-linting.yaml b/.github/workflows/commit-linting.yaml index 49b31966..2ac38ac2 100644 --- a/.github/workflows/commit-linting.yaml +++ b/.github/workflows/commit-linting.yaml @@ -1,7 +1,7 @@ name: Commit linting on: - pull_request: - branches: [ main ] + # pull_request: + # branches: [ main ] jobs: lint-commit-messages: diff --git a/.github/workflows/end-to-end-tests.yaml b/.github/workflows/end-to-end-tests.yaml index 5b389571..cfd47787 100644 --- a/.github/workflows/end-to-end-tests.yaml +++ b/.github/workflows/end-to-end-tests.yaml @@ -96,9 +96,9 @@ jobs: - name: Install Dependencies working-directory: ${{ github.workspace }}/radicle-vscode-extension run: npx npm-run-all -l verify-deps:* - # - name: Compile - # working-directory: ${{ github.workspace }}/radicle-vscode-extension - # run: pnpm run pretest + - name: Build + working-directory: ${{ github.workspace }}/radicle-vscode-extension + run: pnpm run build - name: Test E2E (Linux) working-directory: ${{ github.workspace }}/radicle-vscode-extension if: runner.os == 'Linux' diff --git a/.github/workflows/pr-linting.yaml b/.github/workflows/pr-linting.yaml index 3ed5aea4..e653d43b 100644 --- a/.github/workflows/pr-linting.yaml +++ b/.github/workflows/pr-linting.yaml @@ -1,7 +1,7 @@ name: PR linting on: - pull_request: - types: ['opened', 'edited', 'reopened', 'synchronize'] + # pull_request: + # types: ['opened', 'edited', 'reopened', 'synchronize'] jobs: lint-pr-title: diff --git a/test/specs/test.e2e.ts b/test/specs/test.e2e.ts index 248a22e6..4e904473 100644 --- a/test/specs/test.e2e.ts +++ b/test/specs/test.e2e.ts @@ -84,7 +84,7 @@ describe('VS Code Extension Testing', () => { expect(buttonTitles[2]).toBe('Announce') }) - it('should be able to open a patch\'s details', async () => { + it.skip('should be able to open a patch\'s details', async () => { await patchesSection.expand() const items = await patchesSection?.getVisibleItems() as TreeItem[] diff --git a/wdio.conf.ts b/wdio.conf.ts index 475e7bbf..d329b638 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -58,7 +58,7 @@ export const config: WebdriverIO.Config = { 'wdio:vscodeOptions': { // points to directory where extension package.json is located extensionPath: __dirname, - workspacePath: path.join(__dirname, '../radicle-repos/radicle-planning-boards'), + workspacePath: path.join(__dirname, 'a_blog'), // optional VS Code settings userSettings: { 'editor.fontSize': 14,