Skip to content

test: Fix on macOS + add macOS to CI #177

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

Merged
merged 1 commit into from
Aug 1, 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
5 changes: 4 additions & 1 deletion .github/workflows/scip-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ on:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install asdf.
Expand Down
4 changes: 3 additions & 1 deletion packages/pyright-internal/src/analyzer/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ export class Program {
}

// Add the new files. Only the new items will be added.
this.addTrackedFiles(filePaths);
// Normalize paths to ensure consistency with other code paths.
const normalizedFilePaths = filePaths.map(path => normalizePathCase(this._fs, path));
this.addTrackedFiles(normalizedFilePaths);

return this._removeUnneededFiles();
}
Expand Down
1 change: 1 addition & 0 deletions packages/pyright-scip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"build": "webpack --mode production --progress",
"build-agent": "webpack --mode development",
"clean": "shx rm -rf ./dist ./out README.md LICENSE.txt",
"prepack": "npm run clean && shx cp ../../README.md . && shx cp ../../LICENSE.txt . && npm run build",
"check-snapshots": "npm run update-snapshots -- --check",
Expand Down
Loading