Skip to content

Commit

Permalink
Test pr (#6)
Browse files Browse the repository at this point in the history
* Generate diagrams

* test gh action

* remove diagram

* generate diagrams on pr

* update readme

* change file

* Generate diagrams

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
maisiesadler and github-actions[bot] authored Jul 9, 2021
1 parent 17cb4e2 commit f847a05
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/github-action-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Use GitHub Action

on: push
on:
pull_request:
branches:
- main

jobs:

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ obj
.vscode

temp
out
local
examples
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ LABEL com.github.actions.color="orange"

ARG ASSEMBLY_LOCATION
ENV ASSEMBLY_LOCATION=$ASSEMBLY_LOCATION
ARG ASSEMBLY_PATTERN_MATCH
ENV ASSEMBLY_PATTERN_MATCH=$ASSEMBLY_PATTERN_MATCH
ARG APPLICATION_CONFIG_LOCATION
ENV APPLICATION_CONFIG_LOCATION=$APPLICATION_CONFIG_LOCATION
ARG ROOT_TYPE
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lively
# Lively 🌳

[![Release Nuget Package](https://github.com/maisiesadler/lively/actions/workflows/release.yml/badge.svg)](https://github.com/maisiesadler/lively/actions/workflows/release.yml)
[![Generate Diagrams](https://github.com/maisiesadler/lively/actions/workflows/generate-diagrams.yml/badge.svg)](https://github.com/maisiesadler/lively/actions/workflows/generate-diagrams.yml)
Expand Down Expand Up @@ -104,7 +104,8 @@ System.Console.WriteLine(diagram);

| Name | Environment Variable | CLI setting | | Required |
| -- | -- | -- | -- | -- |
| Assembly Location | `ASSEMBLY_LOCATION` | `-a` `--assembly` | The location of the assembly to read | Yes |
| Assembly Location | `ASSEMBLY_LOCATION` | `-a` `--assembly` | The assembly file location or directory containing assemblies to load | Yes |
| Assembly Pattern Match | `ASSEMBLY_PATTERN_MATCH` | `--pattern-match` | Regex pattern of assemblies to load in directory | No |
| Root types | `ROOT_TYPES` | `-t` `--root-types` | The root type to use for the dependency tree, multiple values can be used as a csv input | Yes |
| Skip types | `SKIP_TYPES` | `-s` `--skip-types` | Types to not include in diagram, multiple values can be used as a csv input | No |
| Assembly Config Location | `ASSEMBLY_CONFIG_LOCATION` | `--assembly-config` | The location of the configuration file required to build IConfiguration for Startup | No |
Expand Down
1 change: 1 addition & 0 deletions runindocker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

result="$(ASSEMBLY_LOCATION=$ASSEMBLY_LOCATION \
ASSEMBLY_PATTERN_MATCH=$ASSEMBLY_PATTERN_MATCH \
APPLICATION_CONFIG_LOCATION=$APPLICATION_CONFIG_LOCATION \
ROOT_TYPES=$ROOT_TYPES \
SKIP_TYPES=$SKIP_TYPES \
Expand Down

0 comments on commit f847a05

Please sign in to comment.