Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Github Actions based CI #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
16 changes: 16 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Java CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Gradle
run: ./gradlew clean build
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![Badge](https://github.com/eBayClassifiedsGroup/reference-client-move/workflows/Java%20CI/badge.svg)
[Github Home](https://github.com/eBayClassifiedsGroup/reference-client-move/)


# Reference Client for MoVe Listing API

Expand All @@ -13,7 +16,7 @@ This repository contains 2 parts:
1) a reference API client written in basic Java with JaxRs/Jersey
1) a number of tests that cover [common usage scenarios](./src/test/java/scenarios)

To inspect the [implementation](./src/main/java/org/example/moveclient/), run `./gradlew clean compileJava` first to generate necessary client classes out of [MoVe's Listing API spec](https://api.ecgmove.com/docs/spec/listings). Feel free to create own clients based on this spec as it fits your needs.
To inspect the [implementation](./src/main/java/org/example/moveclient/), run `./gradlew clean compileJava` first to generate necessary client classes out of [MoVe`s Listing API spec](https://api.ecgmove.com/docs/spec/listings). Feel free to create own clients based on this spec as it fits your needs.

## How to run the tests

Expand Down