chore: test workflow #26
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: Diff Sample | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
Diff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
fetch-depth: 2 | |
- name: Setup requirements and script | |
run: | | |
pip install rich | |
pip install json_source_map | |
wget https://raw.githubusercontent.com/robproject/fsjd/main/frappe_schema_json_diff.py | |
export TABLE_MODE=1 | |
export GIT_EXTERNAL_DIFF=./frappe_schema_json_diff.py | |
cd fsjd | |
git --no-pager diff | |