mirror of
https://github.com/plantuml-stdlib/C4-PlantUML.git
synced 2022-10-18 01:14:54 +00:00
26 lines
619 B
YAML
26 lines
619 B
YAML
name: Percy Tests
|
|
on:
|
|
push:
|
|
paths:
|
|
- '*.puml'
|
|
- 'percy/**'
|
|
- '.github/workflows/run-percy-tests.yml'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@master
|
|
- name: Setup Graphviz
|
|
uses: ts-graphviz/setup-graphviz@v1
|
|
- name: Process diagrams
|
|
uses: Timmy/plantuml-action@v1
|
|
with:
|
|
args: '-v percy -o _parsed -DRELATIVE_INCLUDE="."'
|
|
- name: Upload
|
|
run: npx percy upload percy/_parsed
|
|
env:
|
|
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} |