Skip to content

Commit

Permalink
Format ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich authored Feb 6, 2021
1 parent 1bee3da commit 2882168
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,50 @@ name: OmniSharp-VSCode CI
on:
push:
branches: [ master ]
tags: [ v1.* ]

pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup xvfb

- name: Setup virtual dislay
run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &

- name: Install .NET Core 3.1 SDK
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: 3.1.x

- name: Install Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Install dependencies
run: npm ci && npm i -g gulp

- name: Build
run: gulp 'vsix:release:package'
- run: gulp cov:instrument
- name: Test

- name: Initialize code coverage
run: gulp cov:instrument

- name: Run unit and integration tests
run: gulp test
env:
CODE_VERSION: 1.45.0
DISPLAY: :99.0
- run: gulp cov:report
- run: npm run test:artifacts

- name: Report code coverage
run: gulp cov:report

- name: Run artifact tests
run: npm run test:artifacts

- name: Print logs
run: ./.travis/printLogs.sh

0 comments on commit 2882168

Please sign in to comment.