Skip to content

Add json_schemer implementation #60

Add json_schemer implementation

Add json_schemer implementation #60

Workflow file for this run

name: Benchmark
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
CC: clang
CXX: clang++
BUNDLE_GEMFILE: ${{ github.workspace }}/implementations/json_schemer/Gemfile
steps:
- uses: actions/checkout@v4
- name: Install uv
run: pipx install uv
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.5'
bundler-cache: true
- run: make
- run: cat dist/report.csv
- name: Read CSV
id: csv
uses: juliangruber/read-file-action@v1
with:
path: dist/report.csv
- name: Create MD
uses: petems/csv-to-md-table-action@master
id: csv-table-output
with:
csvinput: ${{ steps.csv.outputs.content }}
- name: Output summary
env:
MARKDOWN_TABLE: ${{ steps.csv-table-output.outputs.markdown-table }}
run: echo "$MARKDOWN_TABLE" >> $GITHUB_STEP_SUMMARY
- run: make plots
- name: Upload plots
id: imgur
uses: devicons/[email protected]
with:
path: dist/results/plots/*.png
client_id: ${{secrets.IMGUR_CLIENT_ID}}
- name: Add plots to summary
env:
IMG_URLS: ${{ steps.imgur.outputs.imgur_urls }}
run: python .github/plot_markdown.py >> $GITHUB_STEP_SUMMARY