moves client disposal into deactivate method (#891) #1090
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vscode | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use NodeJS 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Set up Go 1.21 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: build | |
run: | | |
npm run build | |
- uses: getgauge/setup-gauge@master | |
with: | |
gauge-version: master | |
gauge-plugins: screenshot,html-report,js | |
- name: Run tests (linux) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
xvfb-run --auto-servernum npm test | |
- name: Run tests (macos) | |
if: matrix.os == 'macos-latest' | |
run: | | |
npm test | |
- name: Run tests (windows) | |
if: matrix.os == 'windows-latest' | |
shell: pwsh | |
run: | | |
npm test | |
- name: Upload logs | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: logs-${{ matrix.os }} | |
path: test/testdata/sampleProject/ |