PIPELINE_USAGE_CUTOFF:1000000000# set high cutoff so that only always-test pipelines run
PIPELINE_USAGE_CUTOFF:1000000000# set high cutoff so that only always-test pipelines run
jobs:
jobs:
check_code_quality:
runs-on:ubuntu-22.04
steps:
-uses:actions/checkout@v3
-name:Set up Python
uses:actions/setup-python@v4
with:
python-version:"3.8"
-name:Install dependencies
run:|
python -m pip install --upgrade pip
pip install .[quality]
-name:Check quality
run:make quality
-name:Check if failure
if:${{ failure() }}
run:|
echo "Quality check failed. Please ensure the right dependency versions are installed with 'pip install -e .[quality]' and run 'make style && make quality'" >> $GITHUB_STEP_SUMMARY
check_repository_consistency:
needs:check_code_quality
runs-on:ubuntu-22.04
steps:
-uses:actions/checkout@v3
-name:Set up Python
uses:actions/setup-python@v4
with:
python-version:"3.8"
-name:Install dependencies
run:|
python -m pip install --upgrade pip
pip install .[quality]
-name:Check repo consistency
run:|
python utils/check_copies.py
python utils/check_dummies.py
python utils/check_support_list.py
make deps_table_check_updated
-name:Check if failure
if:${{ failure() }}
run:|
echo "Repo consistency check failed. Please ensure the right dependency versions are installed with 'pip install -e .[quality]' and run 'make fix-copies'" >> $GITHUB_STEP_SUMMARY