Skip to content

Commit

Permalink
Added github action for CI. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosckital committed Jun 21, 2020
1 parent 10a782c commit 7d7be76
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Continuous Integration

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Start xvfb
run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &

- name: install nodejs dependencies
run: npm install

- name: compile the project
run: npm run compile

- name: Test the extension via shell script
run: bash tests/e2e.sh

0 comments on commit 7d7be76

Please sign in to comment.