These lines in test.yml have been commented out, because they give errors that I do not know how to fix: https://github.com/p4lang/PI/blob/main/.github/workflows/test.yml#L59-L62
- name: Check style
run: |
docker run -w /PI pi ./tools/check_style.sh
One way to address this would be to make modifications to the source code of PI so that those checks pass.
Another would be to modify the check_style.sh script so that it does not flag the things it does now as errors.
Also perhaps some combination of the two methods above.
Another option would be to replace check_style.sh with some other style/format-checking software. I suspect there might be different things in use on other p4lang projects.
These lines in test.yml have been commented out, because they give errors that I do not know how to fix: https://github.com/p4lang/PI/blob/main/.github/workflows/test.yml#L59-L62
One way to address this would be to make modifications to the source code of PI so that those checks pass.
Another would be to modify the check_style.sh script so that it does not flag the things it does now as errors.
Also perhaps some combination of the two methods above.
Another option would be to replace check_style.sh with some other style/format-checking software. I suspect there might be different things in use on other p4lang projects.