You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
C4-PlantUML/.github/workflows/run-percy-tests.yml

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 }}