Skip to content

Commit

Permalink
Update action ymls & phpunit config
Browse files Browse the repository at this point in the history
  • Loading branch information
shivishbrahma committed Jun 10, 2023
1 parent 4606f68 commit 683779c
Show file tree
Hide file tree
Showing 4 changed files with 1,076 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Laravel Coverage Report"

on:
push:
branches: [main]

jobs:
laravel-coverage:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci]')"

steps:
- name: Make code coverage badge
uses: timkrase/[email protected]
with:
coverage_badge_path: output/coverage.svg
push_badge: false

- name: Git push to image-data branch
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./output
publish_branch: image-data
github_token: ${{ secrets.GITHUB_TOKEN }}
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
2 changes: 1 addition & 1 deletion .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Laravel
name: Laravel Test

on:
push:
Expand Down
Loading

0 comments on commit 683779c

Please sign in to comment.