Skip to content

[#277] [NF] Export to Excel #105

[#277] [NF] Export to Excel

[#277] [NF] Export to Excel #105

name: Generate Reports
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- run: flutter pub get
- run: sudo apt-get install -y graphviz
- name: Check dependencies
run: |
dart run grinder generate-class-graph --diff --from=${{ github.event.pull_request.base.sha }} --to=${{ github.event.pull_request.head.sha }}
dart run grinder create-class-graph-from-dot --file=coverage/dependencies.dot
- name: Upload Artifact
uses: actions/[email protected]
with:
name: dependencies.svg
path: coverage/dependencies.svg
if-no-files-found: error