Merge pull request #343 from kirchsth/feature/342 #259
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |