Skip to content

Commit

Permalink
Merge pull request #28 from jason-fox/feature/github-actions
Browse files Browse the repository at this point in the history
Test: GitHub Actions
  • Loading branch information
sonsoleslp committed Dec 18, 2020
2 parents 6c64f21 + 6f85b20 commit 4180ee9
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 35 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,45 @@
name: CI
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:

lint-markdown:
name: Lint Markdown
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Run Remark Markdown Linter
run: |
npm install
npm run lint:md
- name: Run Textlint Markdown Linter
run: npm run lint:text

unit-test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Java 8
uses: actions/setup-java@v1
with:
java-version: 8
- name: 'Unit Tests with Java 8'
run: |
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Padd-dependencies-for-IDEA > install.log
mvn verify -Padd-dependencies-for-IDEA
mvn clean test -Dtest=*Test cobertura:cobertura coveralls:report -Padd-dependencies-for-IDEA -DrepoToken="${COVERALLS_TOKEN}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -5,7 +5,7 @@
[![](https://img.shields.io/badge/tag-fiware--cosmos-orange.svg?logo=stackoverflow)](http://stackoverflow.com/questions/tagged/fiware-cosmos)
<br/>
[![Documentation badge](https://readthedocs.org/projects/fiware-cosmos-flink/badge/?version=latest)](https://fiware-cosmos-flink.readthedocs.io/en/latest/)
[![Build Status](https://travis-ci.com/ging/fiware-cosmos-orion-flink-connector.svg?branch=master)](https://travis-ci.com/ging/fiware-cosmos-orion-flink-connector)
[![CI](https://github.com/ging/fiware-cosmos-orion-flink-connector/workflows/CI/badge.svg)](https://github.com/ging/fiware-cosmos-orion-flink-connector/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/github/ging/fiware-cosmos-orion-flink-connector/badge.svg?branch=master)](https://coveralls.io/github/ging/fiware-cosmos-orion-flink-connector?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ff824123db8542a3ad34ee3e1be58bd4)](https://www.codacy.com/manual/sonsoleslp/fiware-cosmos-orion-flink-connector?utm_source=github.com&utm_medium=referral&utm_content=ging/fiware-cosmos-orion-flink-connector&utm_campaign=Badge_Grade)
[![Known Vulnerabilities](https://snyk.io/test/github/ging/fiware-cosmos-orion-flink-connector/badge.svg?targetFile=pom.xml)](https://snyk.io/test/github/ging/fiware-cosmos-orion-flink-connector?targetFile=pom.xml)
Expand Down

0 comments on commit 4180ee9

Please sign in to comment.