Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
arnopo committed Jul 5, 2023
1 parent 528dcdc commit 11300d5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ jobs:
name: checkpatch review
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Checkout the code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Install python dependencies
run: |
pip3 install setuptools
pip3 install junitparser==1.6.3 gitlint codespell lxml
pip3 install junitparser gitlint codespell lxml
- name: Run Compliance Tests
continue-on-error: true
id: compliance
Expand All @@ -32,7 +36,8 @@ jobs:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git rebase origin/${BASE_REF}
./scripts/ci/check_compliance.py -m checkpatch -m Gitlint -m Identity -c origin/${BASE_REF}..
git log --pretty=oneline | head -n 10
./scripts/ci/check_compliance.py --annotate -c origin/${BASE_REF}..
- name: upload-results
uses: actions/upload-artifact@main
Expand Down

0 comments on commit 11300d5

Please sign in to comment.