Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove unused legacy code (lineage and query panel) #1608

Merged
merged 5 commits into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/actions/common-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,14 @@ runs:
uses: actions/setup-node@v4
with:
node-version: "20"
cache: 'npm'
cache: "npm"
cache-dependency-path: |
package-lock.json
new_lineage_panel/package-lock.json
webview_panels/package-lock.json
- run: npm ci
shell: bash
- run: npm ci
shell: bash
working-directory: ./new_lineage_panel
- run: npm ci
shell: bash
working-directory: ./webview_panels
- run: npm run postinstall
shell: bash

109 changes: 54 additions & 55 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Tests

on:
push:
branches: [ "*" ]
branches: ["*"]
pull_request:
branches: [ "*" ]
branches: ["*"]

jobs:
test:
Expand All @@ -14,59 +14,58 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: |
package-lock.json
new_lineage_panel/package-lock.json
webview_panels/package-lock.json
- name: Install dependencies
run: |
npm ci
npm run install:panels
- name: Compile
run: npm run compile
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
cache-dependency-path: |
package-lock.json
webview_panels/package-lock.json
- name: Install dependencies
run: |
npm ci
npm run install:panels
- name: Compile
run: npm run compile

- name: Install xvfb
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y xvfb
- name: Run tests (Linux)
if: runner.os == 'Linux'
run: |
xvfb-run --auto-servernum npm run compile && xvfb-run --auto-servernum npm run test:coverage
- name: Run tests (macOS/Windows)
if: runner.os != 'Linux'
run: |
npm run compile && npm run test:coverage
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.os }}
path: test-results/
- name: Install xvfb
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y xvfb
- name: Run tests (Linux)
if: runner.os == 'Linux'
run: |
xvfb-run --auto-servernum npm run compile && xvfb-run --auto-servernum npm run test:coverage
- name: Run tests (macOS/Windows)
if: runner.os != 'Linux'
run: |
npm run compile && npm run test:coverage
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.os }}
path: test-results/

- name: Upload coverage results
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.os }}
path: |
coverage/
.nyc_output/
*.lcov
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/
flags: unittests
name: codecov-${{ matrix.os }}
fail_ci_if_error: false
- name: Upload coverage results
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.os }}
path: |
coverage/
.nyc_output/
*.lcov
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/
flags: unittests
name: codecov-${{ matrix.os }}
fail_ci_if_error: false
3 changes: 0 additions & 3 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ vsc-extension-quickstart.md
**/*.map
**/*.ts
.github
new_lineage_panel
!new_lineage_panel/dist
webview_panels
!webview_panels/dist
query_panel
18 changes: 0 additions & 18 deletions new_lineage_panel/.eslintrc.cjs

This file was deleted.

24 changes: 0 additions & 24 deletions new_lineage_panel/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions new_lineage_panel/index.html

This file was deleted.

Loading
Loading