Skip to content
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
22 changes: 18 additions & 4 deletions .github/workflows/build.yml → .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,29 @@ jobs:
setup_only: true
- name: install-deps
run: make install
- name: build
run: npm run compile
- name: lint
run: npm run lint
- name: format
run: npm run format
- name: test-with-xvfb
run: xvfb-run -a npm test
- name: unit-tests-with-xvfb
run: xvfb-run -a npm run test:unit
if: runner.os == 'Linux'
- name: test
run: npm test
- name: unit-test
run: npm run test:unit
if: runner.os != 'Linux'
- name: e2e-test
run: npm run test:e2e
# Limiting to macOS for now due to issues with xvfb on Linux and timeouts on windows
if: runner.os == 'macOS'
- name: check diff
run: node scripts/gh-diffcheck.mjs
- name: upload-e2e-test-results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: test-results/
retention-days: 5
if-no-files-found: ignore
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ node_modules
*.vsix
.env/
.user-data-dir-test
test-results
playwright-report
2 changes: 1 addition & 1 deletion .vscode-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "@vscode/test-cli";
export default defineConfig([
{
label: "unitTests",
files: "out/test/**/*.test.js",
files: "out/test/unit/**/*.test.js",
workspaceFolder: "./test-workspaces/npm-buf-workspace",
},
]);
Loading