Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/demo.yml → .github/workflows/public.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Demo on openconfig/public
name: openconfig/public

on:
pull_request:
Expand All @@ -25,12 +25,13 @@ jobs:
run: pip3 install pyang

- name: Get public repo
run: git clone https://github.com/openconfig/public.git ~/tmp/public
run: git clone https://github.com/openconfig/public.git /tmp/public

- name: Demo output on openconfig/public
continue-on-error: true
run: |
OCDIR=~/tmp/public find "$OCDIR/regexp-tests" -name "*.yang" -print0 | xargs -0 pytests/pattern_test.sh
find "$OCDIR/regexp-tests" -name "*.yang" -print0 | xargs -0 pytests/pattern_test.sh
env:
OCDIR: /tmp/public

posix-pattern:
name: posix-pattern statement
Expand All @@ -55,9 +56,10 @@ jobs:
run: go build -v ./...

- name: Get public repo
run: git clone https://github.com/openconfig/public.git ~/tmp/public
run: git clone https://github.com/openconfig/public.git /tmp/public

- name: Demo output on openconfig/public
continue-on-error: true
run: |
find "$OCDIR/regexp-tests" -name "*.yang" -print0 | xargs -0 go run gotests/main.go -model-root ~/tmp/public
find "$OCDIR/regexp-tests" -name "*.yang" -print0 | xargs -0 go run gotests/main.go -model-root "$OCDIR"
env:
OCDIR: /tmp/public