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
76 changes: 76 additions & 0 deletions .github/workflows/interpreter-integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Interpreter Integration Tests
on: [workflow_call]
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
# Python-only configurations
- runner: ubuntu-latest
python-version: "3.9"
r-version: ""
- runner: ubuntu-latest
python-version: "3.10"
r-version: ""
- runner: ubuntu-latest
python-version: "3.11"
r-version: ""
- runner: ubuntu-latest
python-version: "3.12"
r-version: ""
- runner: ubuntu-latest
python-version: "3.13"
r-version: ""
# R-only configurations
- runner: ubuntu-latest
python-version: ""
r-version: "4.1"
- runner: ubuntu-latest
python-version: ""
r-version: "4.3"
- runner: ubuntu-latest
python-version: ""
r-version: "4.4"
# Combined Python + R
- runner: ubuntu-latest
python-version: "3.11"
r-version: "4.3"
- runner: ubuntu-latest
python-version: "3.12"
r-version: "4.4"
# macOS
- runner: macos-latest
python-version: "3.12"
r-version: "4.4"
# Windows
- runner: windows-latest
python-version: "3.12"
r-version: "4.4"
runs-on: ${{ matrix.runner }}
name: >-
${{ matrix.runner }}
${{ matrix.python-version && format('py{0}', matrix.python-version) || '' }}
${{ matrix.r-version && format('R{0}', matrix.r-version) || '' }}
defaults:
run:
working-directory: extensions/vscode
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- uses: actions/setup-python@v5
if: matrix.python-version != ''
with:
python-version: ${{ matrix.python-version }}
- uses: r-lib/actions/setup-r@v2
if: matrix.r-version != ''
with:
r-version: ${{ matrix.r-version }}
- run: npm install
- run: npm run test-integration-interpreters
5 changes: 5 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ jobs:
if: needs.detect-changes.outputs.has-code == 'true'
uses: ./.github/workflows/vscode.yaml

interpreter-integration:
needs: detect-changes
if: needs.detect-changes.outputs.has-code == 'true'
uses: ./.github/workflows/interpreter-integration.yaml

connect-contract-tests:
needs: detect-changes
if: needs.detect-changes.outputs.has-code == 'true'
Expand Down
3 changes: 2 additions & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,8 @@
"esbuild-tests": "node ./esbuild.tests.mjs",
"pretest": "npm run esbuild-tests && npm run esbuild-base",
"test": "vscode-test",
"test-unit": "vitest run"
"test-unit": "vitest run",
"test-integration-interpreters": "vitest run src/interpreters/integration.test.ts"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
Expand Down
Loading
Loading