Skip to content

Commit 16ab490

Browse files
Merge pull request #297 from pusher/tech/migrate-to-github-actions-ci
2 parents e02f458 + d3880d4 commit 16ab490

File tree

2 files changed

+26
-13
lines changed

2 files changed

+26
-13
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: pusher-websocket-java CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [master, main]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-20.04
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
java-version: [8, 9, 10, 11]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up JDK ${{ matrix.java-version }}
19+
uses: actions/setup-java@v2
20+
with:
21+
java-version: "${{ matrix.java-version }}"
22+
distribution: "adopt"
23+
- name: Build & Test
24+
run: ./gradlew jacocoTestReport test
25+
- name: Code coverage
26+
run: bash <(curl -s https://codecov.io/bash)

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)