Validation Script for OC Path and RPC Coverage in READMEs (#2865) #1
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: README OpenConfig Path and RPC Coverage | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
schedule: | |
- cron: "49 0 * * *" | |
jobs: | |
integration-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: stable | |
cache: false | |
- name: Validate Validation Script | |
run: | | |
cd tools/validate_readme_spec | |
./validate_readme_spec_test.sh | |
- name: Validate Template README | |
run: | | |
go run tools/validate_readme_spec/validate_readme_spec.go -alsologtostderr doc/test-requirements-template.md; rm -rf tmp | |
- name: Validate Test READMEs | |
run: | | |
# TODO: Add READMEs here that have converted to the new format. |