Skip to content

Commit

Permalink
run tests on master (#201)
Browse files Browse the repository at this point in the history
* run tests on master

* update coverage test

* update coverage test

Co-authored-by: Mariah <mmclaughlin@choopa.com>
  • Loading branch information
mamclaughlin and Mariah committed Jan 20, 2022
1 parent 6e1e834 commit 3708b7b
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/coverage.yml
@@ -1,11 +1,18 @@
name: "Unit/Coverage Tests"

on: pull_request_target
on:
push:
branches:
- master
pull_request_target:
branches:
- master

jobs:
coverage:
runs-on: ubuntu-latest

outputs:
msg: ${{ steps.results.outputs.content }}
steps:
- uses: actions/checkout@v2

Expand All @@ -29,6 +36,11 @@ jobs:
CONTENT="${CONTENT//$'\r'/'%0D'}"
echo "::set-output name=content::$CONTENT"
comment:
runs-on: ubuntu-latest
if: github.event_name != 'push'
needs: coverage
steps:
- name: Add Comment
uses: actions/github-script@v5
if: always()
Expand All @@ -38,7 +50,7 @@ jobs:
<details><summary>Show Output</summary>
\`\`\`
${{ steps.results.outputs.content }}
${{ needs.coverage.outputs.msg }}
\`\`\`
</details>
Expand Down

0 comments on commit 3708b7b

Please sign in to comment.