diff --git a/.github/workflows/standard_tests_jobs.yml b/.github/workflows/standard_tests_jobs.yml index 6f98d8423..2a4e4a23c 100644 --- a/.github/workflows/standard_tests_jobs.yml +++ b/.github/workflows/standard_tests_jobs.yml @@ -9,7 +9,6 @@ on: default: false jobs: test: - if: ${{ ! cancelled() }} permissions: contents: read runs-on: @@ -17,6 +16,7 @@ jobs: env: uploadCoverage: ${{ inputs.uploadCoverage }} strategy: + fail-fast: false matrix: PYTHON_VERSION: ['3.14'] IMAGE_NAME: ['ubuntu-22.04'] diff --git a/.github/workflows/tox_steps.yml b/.github/workflows/tox_steps.yml new file mode 100644 index 000000000..6f98d8423 --- /dev/null +++ b/.github/workflows/tox_steps.yml @@ -0,0 +1,55 @@ +# Environment variables defined in a calling workflow are not accessible to this reusable workflow. Refer to the documentation for further details on this limitation. +name: standard_tests_jobs +on: + workflow_call: + inputs: + uploadCoverage: + description: 'Upload coverage to Codecov' + type: boolean + default: false +jobs: + test: + if: ${{ ! cancelled() }} + permissions: + contents: read + runs-on: + - "${{ matrix.IMAGE_NAME }}" + env: + uploadCoverage: ${{ inputs.uploadCoverage }} + strategy: + matrix: + PYTHON_VERSION: ['3.14'] + IMAGE_NAME: ['ubuntu-22.04'] + TOXENV: + - 'cover' + - 'lint-posix' + - 'mypy' + - 'integration' + - 'apache_compat' + - 'apacheconftest-with-pebble' + - 'nginxroundtrip' + - 'validate-changelog' + include: + - IMAGE_NAME: macOS-15 + PYTHON_VERSION: '3.14' + TOXENV: cover + PIP_USE_PEP517: 'true' + - IMAGE_NAME: ubuntu-22.04 + PYTHON_VERSION: '3.10' + TOXENV: oldest + - IMAGE_NAME: ubuntu-22.04 + PYTHON_VERSION: '3.10' + TOXENV: py310 + steps: + - name: checkout + uses: actions/checkout@v4.1.0 + - uses: "./.github/actions/tox_steps" + test_sphinx_builds: + permissions: + contents: read + runs-on: + - ubuntu-22.04 + steps: + - name: checkout + uses: actions/checkout@v4.1.0 + - uses: "./.github/actions/sphinx_steps"