Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on: [push, pull_request]

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

- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 11

- name: Set up Android SDK
uses: android-actions/setup-android@v2

- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: '12'
check-latest: true

- name: Run yarn install
# Despite the name, this action sees the yarn.lock
# and runs yarn install with caching
uses: bahmutov/npm-install@v1

- name: Run tools/test
run: TERM=dumb tools/test --full

- run: tools/verify-webview-js

# Note: if running a release build, this command is required:
# echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
# See the mention of `inotify` in docs/. If we attempt assembleRelease,
# then without this line the JS bundle step fails with a baffling ENOSPC
# error, even though there's tons of free space on the filesystem.
46 changes: 0 additions & 46 deletions .travis.yml

This file was deleted.