GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — powertools-lambda-python/.github/workflows/quality_check.yml at develop · siwyd/powertools-lambda-python 86 lines (81 loc) · 2.56 KB / Copy pathquality_check.ymlFile metadata and controls86 lines (81 loc) · 2.56 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 name: Quality check - check code # PROCESS # # 1. Install all dependencies and spin off containers for all supported Python versions # 2. Run code formatters and linters (various checks) for code standard # 3. Run static typing checker for potential bugs # 4. Run entire test suite for regressions except end-to-end (unit, functional, performance) # 5. Run static analysis (in addition to CodeQL) for common insecure code practices # 6. Run complexity baseline to avoid error-prone bugs and keep maintenance lower # 7. Collect and report on test coverage # USAGE # # Always triggered on new PRs, PR changes and PR merge. on: pull_request: paths: - "aws_lambda_powertools/**" - "tests/**" - "examples/**" - "pyproject.toml" - "poetry.lock" - "mypy.ini" branches: - develop push: paths: - "aws_lambda_powertools/**" - "tests/**" - "examples/**" - "pyproject.toml" - "poetry.lock" - "mypy.ini" branches: - develop permissions: contents: read jobs: quality_check: runs-on: ubuntu-latest strategy: fail-fast: false max-parallel: 5 matrix: python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] env: PYTHON: "${{ matrix.python-version }}" permissions: contents: read # checkout code only steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install poetry run: pipx install poetry - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: make dev-quality-code - name: Checking and enforcing format run: make format-check - name: Formatting and Linting run: make lint - name: Static type checking (mypy) run: make mypy - name: Static type checking (ty) run: make ty - name: Test with pytest run: make test - name: Test dependencies with Nox run: make test-dependencies - name: Security baseline run: make security-baseline - name: Complexity baseline run: make complexity-baseline - name: Upload coverage to Codecov uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # 5.5.2 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml env_vars: PYTHON name: aws-lambda-powertools-python-codecov |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |