nips/.github/workflows/dependency_graph.yaml

33 lines
988 B
YAML

# This is a basic workflow to help you get started with GitHub Actions
name: Generate NIPs dependency graph
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build-on-ubuntu:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: step 1 - Checkout the main GitHub branch
uses: actions/checkout@v2
- name: Step 2 - Install Graphviz
run: echo "TODO"
# sh ./.github/workflows/dependency_graph.sh
- name: Step 3 - Generate dependency graph svg
run: sh ./.github/workflows/dependency_graph.sh
- name: Step 4 - Do something with image
run: dot -Tsvg dependency_graph.dot > dependency_graph.svg