Skip to content

Merge pull request #343 from kirchsth/feature/342 #259

Merge pull request #343 from kirchsth/feature/342

Merge pull request #343 from kirchsth/feature/342 #259

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/cli upload percy/_parsed
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}