Skip to content

Commit

Permalink
PAC-CI-001 | fixed ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
osvalda authored and osvaldatset committed Jul 11, 2023
1 parent dbfa3f7 commit bad2c4e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 27 deletions.
40 changes: 31 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
version: 2
version: 2.1

workflows:
my-workflow:
jobs:
- build:
context:
- Pitaya

jobs:
build:
Expand All @@ -7,29 +14,44 @@ jobs:

working_directory: ~/repo

resource_class: medium

environment:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
# Add steps to the job
# See: https://circleci.com/docs/configuration-reference/#steps

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "build.gradle" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: gradle clean build -x test -i
- run:
name: Build project
command: gradle clean build -x test -i

- save_cache:
paths:
- ~/.gradle
key: v1-dependencies-{{ checksum "build.gradle" }}

# run tests!
- run: gradle check -i
- run: gradle jacocoTestReport coveralls
- run:
name: Execute unit tests
command: gradle check -i

- run:
name: Coverage reporting
command: gradle jacocoTestReport coveralls
when: always

- run:
name: Save test results
command: |
mkdir -p ~/test-results/junit/
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/test-results/junit/ \;
when: always
- store_test_results:
path: ~/test-results
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Pitaya

[![Build Status](https://travis-ci.org/osvalda/Pitaya.svg?branch=master)](https://travis-ci.org/osvalda/Pitaya)
[![Coverage Status](https://coveralls.io/repos/github/osvalda/Pitaya/badge.svg?branch=master)](https://coveralls.io/github/osvalda/Pitaya?branch=PAC-002)
[![CircleCI](https://img.shields.io/circleci/build/github/osvalda/Pitaya/master)](https://app.circleci.com/pipelines/github/osvalda/Pitaya?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/osvalda/Pitaya/badge.svg?branch=master)](https://coveralls.io/github/osvalda/Pitaya?branch=master)
[![GitHub license](https://img.shields.io/github/license/spotify/scio.svg)](./LICENSE)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.osvalda/Pitaya.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.osvalda%22%20AND%20a:%22Pitaya%22)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.osvalda/Pitaya.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/io.github.osvalda/Pitaya/)

API coverage visualizer tool. Creates an easily readable html report based upon the executed API test cases.

Expand Down

0 comments on commit bad2c4e

Please sign in to comment.