Skip to content

Commit

Permalink
#531 ci to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 28, 2022
1 parent 87a436b commit 3d6f9e8
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 61 deletions.
29 changes: 0 additions & 29 deletions .appveyor.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: codecov
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-
- run: mvn install -Pjacoco
- uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
29 changes: 29 additions & 0 deletions .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: mvn
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [11, 17]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
- run: mvn clean test integration-test --errors --batch-mode
5 changes: 0 additions & 5 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
docker:
image: yegor256/rultor-image:1.3
assets:
settings.xml: cqfn/secrets#jpeek-settings.xml
pubring.gpg: cqfn/secrets#pubring.gpg
Expand All @@ -9,9 +7,6 @@ assets:
install: |
sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
pdd -f /dev/null
architect:
- paulodamaso
- yegor256
merge:
script: |
mvn clean install -Pqulice --errors --settings ../settings.xml
Expand Down
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@
[![DevOps By Rultor.com](https://www.rultor.com/b/yegor256/jpeek)](https://www.rultor.com/p/yegor256/jpeek)
[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)

[![Build Status](https://travis-ci.org/yegor256/jpeek.svg?branch=master)](https://travis-ci.org/yegor256/jpeek)
[![Javadoc](http://www.javadoc.io/badge/org.jpeek/jpeek.svg)](http://www.javadoc.io/doc/org.jpeek/jpeek)
[![PDD status](https://www.0pdd.com/svg?name=yegor256/jpeek)](https://www.0pdd.com/p?name=yegor256/jpeek)
[![Maven Central](https://img.shields.io/maven-central/v/org.jpeek/jpeek.svg)](https://maven-badges.herokuapp.com/maven-central/org.jpeek/jpeek)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/jpeek/blob/master/LICENSE.txt)

[![jpeek report](https://i.jpeek.org/org.jpeek/jpeek/badge.svg)](https://i.jpeek.org/org.jpeek/jpeek/)
[![Test Coverage](https://img.shields.io/codecov/c/github/yegor256/jpeek.svg)](https://codecov.io/github/yegor256/jpeek?branch=master)
[![SonarQube](https://img.shields.io/badge/sonar-ok-green.svg)](https://sonarcloud.io/dashboard?id=org.jpeek%3Ajpeek)
[![Hits-of-Code](https://hitsofcode.com/github/yegor256/jpeek)](https://hitsofcode.com/view/github/yegor256/jpeek)

Project architect: [@paulodamaso](https://github.com/paulodamaso)

jPeek is a static collector of Java code metrics.

**Motivation**:
Expand Down

0 comments on commit 3d6f9e8

Please sign in to comment.