Skip to content

Commit

Permalink
test.yml workflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
PaterSantyago committed Apr 7, 2020
1 parent 13526db commit 79bd040
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/build-and-test.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: calculate coverage
name: test

on:
pull_request:
branches: [ master ]
push:
branches: [ master ]

Expand All @@ -22,6 +24,7 @@ jobs:
- name: Test
run: dotnet test --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov
- name: Publish coverage report
if: github.event_name == 'push'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MAVN.Service.WAMPHost

![calculate coverage](https://github.com/OpenMAVN/MAVN.Service.WAMPHost/workflows/calculate%20coverage/badge.svg)
![Test](https://github.com/OpenMAVN/MAVN.Service.WAMPHost/workflows/test/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/OpenMAVN/MAVN.Service.WAMPHost/badge.svg?branch=master)](https://coveralls.io/github/OpenMAVN/MAVN.Service.WAMPHost?branch=master)

0 comments on commit 79bd040

Please sign in to comment.