Skip to content

Commit 1f1d1fc

Browse files
committed
Add CI GitHub Action
1 parent 7671b99 commit 1f1d1fc

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
'on':
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
jobs:
10+
# sonarcloud:
11+
# name: SonarCloud Scan
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - name: Git checkout
15+
# uses: actions/checkout@v2
16+
# - name: Use Java 11
17+
# uses: actions/setup-java@v1
18+
# with:
19+
# java-version: 11
20+
# - name: SonarCloud Scan
21+
# uses: jason-fox/sonarcloud-action@master
22+
# env:
23+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
# SONAR_CLOUD_LOGIN: ${{ secrets.SONAR_CLOUD_LOGIN }}
25+
26+
unit-test:
27+
name: Unit Tests
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Git checkout
31+
uses: actions/checkout@v2
32+
- name: Run DITA-OT Unit Test
33+
uses: jason-fox/dita-unit-test-action@master
34+
with:
35+
dita-ot-version: 3.5.4
36+
plugin: 'fox.jason.passthrough.doxygen'
37+
prerequisites: fox.jason.passthrough
38+
setup-script: 'test/setup.sh'
39+
env:
40+
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![license](https://img.shields.io/github/license/jason-fox/fox.jason.passthrough.doxygen.svg)](http://www.apache.org/licenses/LICENSE-2.0)
44
[![DITA-OT 3.5](https://img.shields.io/badge/DITA--OT-3.5-blue.svg)](http://www.dita-ot.org/3.5)
5-
[![Build Status](https://api.travis-ci.com/jason-fox/fox.jason.passthrough.doxygen.svg?branch=master)](https://travis-ci.com/github/jason-fox/fox.jason.passthrough.doxygen)
5+
[![CI](https://github.com/jason-fox/fox.jason.passthrough.doxygen/workflows/CI/badge.svg)](https://github.com/jason-fox/fox.jason.passthrough.doxygen/actions?query=workflow%3ACI)
66
[![Coverage Status](https://coveralls.io/repos/github/jason-fox/fox.jason.passthrough.doxygen/badge.svg?branch=master)](https://coveralls.io/github/jason-fox/fox.jason.passthrough.doxygen?branch=master)
77
[![Documentation Status](https://readthedocs.org/projects/doxygendita-ot/badge/?version=latest)](https://doxygendita-ot.readthedocs.io/en/latest/?badge=latest)
88

0 commit comments

Comments
 (0)