-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'aurora/2.4' of https://github.com/daos-stack/daos into …
…aurora/2.4 Required-githooks: true Signed-off-by: Maureen Jean <maureen.jean@intel.com>
- Loading branch information
Showing
369 changed files
with
3,211 additions
and
1,457 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Linting | ||
|
||
# Always run on Pull Requests as then these checks can be marked as required. | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'feature/*' | ||
- 'release/*' | ||
pull_request: | ||
|
||
jobs: | ||
# Run isort on the tree. | ||
# This checks .py files only so misses SConstruct and SConscript files are not checked, rather | ||
# for these files check them afterwards. The output-filter will not be installed for this part | ||
# so regressions will be detected but not annotated. | ||
isort: | ||
name: Python isort | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: actions/setup-python@v3 | ||
- uses: isort/isort-action@master | ||
with: | ||
requirementsFiles: "requirements.txt utils/cq/requirements.txt" | ||
- name: Run on SConstruct file. | ||
run: isort --check-only SConstruct | ||
- name: Run on build files. | ||
run: find . -name SConscript | xargs isort --check-only | ||
|
||
log-check: | ||
name: Logging macro checking | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Check DAOS logging macro use. | ||
run: ./utils/cq/d_logging_check.py --github src |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Version checking | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
upgrade-check: | ||
name: Check for updates | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
package: [pylint, yamllint, isort, codespell] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Install extra python packages | ||
run: python3 -m pip install --requirement utils/cq/requirements.txt | ||
- name: Check ${{ matrix.package }} version | ||
run: python -m ${{ matrix.package }} --version | tee -a version-pre | ||
- name: Upgrade | ||
run: pip install --upgrade ${{ matrix.package }} | ||
- name: Check ${{ matrix.package }} for version | ||
run: python -m ${{ matrix.package }} --version | diff version-pre - |
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
Oops, something went wrong.