Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add static check with "avocado-static-checks" #14

Merged
Merged
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions .github/workflows/modules-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,17 @@ jobs:

- name: Run the ar module test
run: ./tests/test-module.py metadata/autils/archive/ar.yml

static-checks:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: true

- name: Install requirements for the static checks
run: pip3 install -r static-checks/requirements.txt

- name: Runs all the static checks
run: ./static-checks/run-static-checks
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "avocado-static-checks"]
path = static-checks
url = ../avocado-static-checks
branch = main
1 change: 1 addition & 0 deletions static-checks
Submodule static-checks added at 9aab46
Loading