Skip to content

Commit

Permalink
Migrate to GitHub Actions
Browse files Browse the repository at this point in the history
Closes redhat-developer#375

Signed-off-by: David Thompson <davthomp@redhat.com>
  • Loading branch information
datho7561 committed Jul 22, 2021
1 parent 46b180e commit 846495c
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 113 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
include:
- os: macos-latest
label: 'darwin'
- os: ubuntu-latest
label: 'linux'
steps:
- name: Check out repository code
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- name: Install vsce
run: npm i -g vsce
- name: Install dependencies
run: npm i
- name: Compile extension
run: npm run vscode:prepublish
- run: vsce package
- name: tslint
run: npm run tslint
- name: Tests
run: xvfb-run --auto-servernum npm run test --silent
if: runner.os == 'Linux'
- name: Tests
run: npm run test --slient
if: runner.os != 'Linux'
- name: UI Tests
run: xvfb-run --auto-servernum npm run test-ui
if: runner.os == 'Linux'
- name: UI Tests
run: npm run test-ui
if: runner.os != 'Linux'
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/redhat-developer/vscode-quarkus.svg?branch=master)](https://travis-ci.org/github/redhat-developer/vscode-quarkus)
[![Tests workflow](https://github.com/redhat-developer/vscode-quarkus/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/redhat-developer/vscode-quarkus/actions)
[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/redhat.vscode-quarkus.svg "Current Release")](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-quarkus)

# Quarkus Tools for Visual Studio Code
Expand Down
Loading

0 comments on commit 846495c

Please sign in to comment.