Skip to content

Commit 872b920

Browse files
committed
Migrate to Github Actions for CI
1 parent 7ed6fe2 commit 872b920

File tree

2 files changed

+36
-26
lines changed

2 files changed

+36
-26
lines changed

.circleci/config.yml

-26
This file was deleted.

.github/workflows/ci.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v1
12+
- name: Set up JDK 1.8
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 1.8
16+
17+
- name: Build with Gradle
18+
run: ./gradlew ktlintCheck detekt build -Dorg.gradle.caching=false
19+
-Pkotlin.incremental=false -Pkapt.incremental.apt=false
20+
21+
- name: Store reports
22+
uses: actions/upload-artifact@v1
23+
if: always()
24+
with:
25+
name: Reports
26+
path: build/reports
27+
- name: Store test results
28+
uses: actions/upload-artifact@v1
29+
if: always()
30+
with:
31+
name: Test results
32+
path: build/test-results/test
33+
34+
- uses: codecov/[email protected]
35+
with:
36+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)