Skip to content
Closed
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
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ jobs:
- name: lint
run: npm run lint
- run: npm run compile
- name: npm test
run: xvfb-run npm test
- name: Build package
run: |
npx @vscode/vsce package -o ${{ steps.set-version.outputs.name }}.vsix
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Pre-release tests

# Integration tests against a real IRIS container. Too slow to run on every PR, so they only run on
# release-preparation PRs (source branch "prepare-*") and on demand.
on:
pull_request:
branches:
- master
- prerelease
workflow_dispatch:

jobs:
integration:
if: github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'prepare-')
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm install
- name: Start IRIS
run: docker compose -f test-fixtures/client-compose/docker-compose.yml up -d --wait --wait-timeout 300
- name: Run integration tests
run: xvfb-run npm test
- name: IRIS logs
if: failure()
run: docker compose -f test-fixtures/client-compose/docker-compose.yml logs
- name: Stop IRIS
if: always()
run: docker compose -f test-fixtures/client-compose/docker-compose.yml down -v
2 changes: 0 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ jobs:
- name: lint
run: npm run lint
- run: npm run compile
- name: npm test
run: xvfb-run npm test
- name: Build pre-release package
run: |
npx @vscode/vsce package --pre-release -o ${{ steps.set-version.outputs.name }}.vsix
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ out/
dist/
*.vsix
vscode*.d.ts
test-fixtures
.DS_Store

# Files created by the integration tests
test-fixtures/*/src/*
!test-fixtures/*/src/.gitkeep
Loading
Loading