refactor(templates): align PR and issue templates with standard-tooling #548
Workflow file for this run
This file contains hidden or 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
| # https://github.com/wphillipmoore/standard-actions/blob/develop/.github/workflows/README.md | |
| name: CI | |
| on: | |
| pull_request: | |
| workflow_call: | |
| inputs: | |
| run-security: | |
| type: boolean | |
| default: true | |
| run-release: | |
| type: boolean | |
| default: true | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| audit: | |
| uses: wphillipmoore/standard-actions/.github/workflows/ci-audit.yml@v1.5 | |
| with: | |
| language: python | |
| versions: '["3.12", "3.13", "3.14"]' | |
| integration-tests: | |
| name: "test / integration / ${{ matrix.python-version }}" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - python-version: "3.12" | |
| project-suffix: "3-12" | |
| qm1-rest-port: "9447" | |
| qm2-rest-port: "9448" | |
| qm1-mq-port: "1416" | |
| qm2-mq-port: "1417" | |
| - python-version: "3.13" | |
| project-suffix: "3-13" | |
| qm1-rest-port: "9449" | |
| qm2-rest-port: "9450" | |
| qm1-mq-port: "1418" | |
| qm2-mq-port: "1419" | |
| - python-version: "3.14" | |
| project-suffix: "3-14" | |
| qm1-rest-port: "9451" | |
| qm2-rest-port: "9452" | |
| qm1-mq-port: "1420" | |
| qm2-mq-port: "1421" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: wphillipmoore/standard-actions/actions/python/setup@v1.5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --frozen --group dev | |
| - name: Setup MQ environment | |
| uses: wphillipmoore/mq-rest-admin-dev-environment/.github/actions/setup-mq@main | |
| with: | |
| project-name: mqrest-python-${{ matrix.project-suffix }} | |
| qm1-rest-port: ${{ matrix.qm1-rest-port }} | |
| qm2-rest-port: ${{ matrix.qm2-rest-port }} | |
| qm1-mq-port: ${{ matrix.qm1-mq-port }} | |
| qm2-mq-port: ${{ matrix.qm2-mq-port }} | |
| - name: Run integration tests | |
| env: | |
| MQ_REST_BASE_URL: >- | |
| https://localhost:${{ matrix.qm1-rest-port }}/ibmmq/rest/v2 | |
| MQ_REST_BASE_URL_QM2: >- | |
| https://localhost:${{ matrix.qm2-rest-port }}/ibmmq/rest/v2 | |
| run: | | |
| MQ_SKIP_LIFECYCLE=1 \ | |
| MQ_REST_ADMIN_RUN_INTEGRATION=1 \ | |
| uv run pytest -m integration | |
| quality: | |
| uses: wphillipmoore/standard-actions/.github/workflows/ci-quality.yml@v1.5 | |
| with: | |
| language: python | |
| versions: '["3.12", "3.13", "3.14"]' | |
| security: | |
| uses: wphillipmoore/standard-actions/.github/workflows/ci-security.yml@v1.5 | |
| with: | |
| language: python | |
| run-standards: ${{ inputs.run-release != 'false' }} | |
| run-security: ${{ inputs.run-security != 'false' }} | |
| permissions: | |
| contents: read | |
| security-events: write | |
| test: | |
| uses: wphillipmoore/standard-actions/.github/workflows/ci-test.yml@v1.5 | |
| with: | |
| language: python | |
| versions: '["3.12", "3.13", "3.14"]' | |
| version: | |
| uses: wphillipmoore/standard-actions/.github/workflows/ci-version-bump.yml@v1.5 | |
| with: | |
| language: python | |
| run-release: ${{ inputs.run-release != 'false' }} |