Bump the mocha group with 1 update (#927) #1178
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@v5 | |
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 compatibility tests (linux) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
xvfb-run --auto-servernum npm run compatibilityTest | |
- name: Run tests (macos) | |
if: matrix.os == 'macos-latest' | |
run: | | |
npm test | |
- name: Run compatibility tests (macos) | |
if: matrix.os == 'macos-latest' | |
run: | | |
npm run compatibilityTest | |
- name: Run tests (windows) | |
if: matrix.os == 'windows-latest' | |
shell: pwsh | |
run: | | |
npm test | |
- name: Run compatibility tests (windows) | |
if: matrix.os == 'windows-latest' | |
shell: pwsh | |
run: | | |
npm run compatibilityTest | |
- name: Upload logs | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: logs-${{ matrix.os }} | |
path: test/testdata/sampleProject/ |