Skip to content

Commit 2aa70e0

Browse files
authored
add github workflow (#2)
1 parent 069e367 commit 2aa70e0

File tree

4 files changed

+36
-39
lines changed

4 files changed

+36
-39
lines changed

.c9build.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build
2+
on:
3+
push:
4+
schedule:
5+
- cron: '0 1 * * 0'
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-18.04
10+
steps:
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '6'
14+
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 50
17+
- uses: testspace-com/setup-testspace@v1
18+
with:
19+
domain: samples
20+
- name: Install
21+
run: |
22+
npm install
23+
- name: Test
24+
run: |
25+
make lint test
26+
- name: Push
27+
run: |
28+
testspace checkstyle.xml [Tests]xunit.xml{test} coverage/cobertura-coverage.xml
29+
if: always()

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
Sample demonstrates techniques for using Testspace with Javascript code and the [Mocha test framework](https://mochajs.org/) together with [Istanbul code coverage tool](https://gotwarlost.github.io/istanbul/).
88
* Using a Testspace Project that is `connected` with this GitHub Repo
99
* Using 3 Online CI services for demonstration purposes only
10-
* Can review the Results at [testspace-samples:javascript.mocha](https://samples.testspace.com/projects/testspace-samples:javascript.mocha)
11-
* Refer to our [Getting Started](https://help.testspace.com/getting-started) help articles for more information
10+
* Can review the Results at [testspace-samples:javascript.mocha](https://samples.testspace.com/projects/testspace-samples:javascript.mocha)
11+
* Refer to our [Help](https://help.testspace.com/) for more information
1212

13-
***
13+
***
1414
Using Multiple Online CI Services:
1515

16+
![Build](https://github.com/testspace-samples/javascript.mocha/workflows/Build/badge.svg)
1617
[![Build Status](https://travis-ci.org/testspace-samples/javascript.mocha.svg?branch=master)](https://travis-ci.org/testspace-samples/javascript.mocha)
1718
[![CircleCI](https://circleci.com/gh/testspace-samples/javascript.mocha.svg?style=svg)](https://circleci.com/gh/testspace-samples/javascript.mocha)
18-
[![Run Status](https://api.shippable.com/projects/57d84135b655251000851a1d/badge?branch=master)](https://app.shippable.com/projects/57d84135b655251000851a1d)
1919

2020

2121
***
@@ -27,7 +27,7 @@ Publising **Test Content** using www.testspace.com
2727

2828
***
2929

30-
Download and configure the Testspace client
30+
Download and configure the Testspace client
3131

3232
<pre>
3333
mkdir -p $HOME/bin
@@ -43,8 +43,8 @@ npm install
4343
make lint test
4444
</pre>
4545

46-
Push Content using Testspace client
46+
Push Content using Testspace client
4747

4848
<pre>
4949
testspace checkstyle.xml [Tests]xunit.xml{test} coverage/cobertura-coverage.xml
50-
</pre>
50+
</pre>

shippable.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)