diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 29148b758..049de8e20 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -56,10 +56,13 @@ jobs: uses: ./.github/actions/setup-python-env with: python-version: ${{ matrix.python-version }} - - name: Run pylint and type tests - shell: bash - run: | - mise exec python@${{ matrix.python-version }} -- uv run --project ./py nox -f ./py/noxfile.py -s pylint test_types + - parallel: + - name: Run pylint + shell: bash + run: mise exec python@${{ matrix.python-version }} -- uv run --project ./py nox -f ./py/noxfile.py -s pylint + - name: Run type tests + shell: bash + run: mise exec python@${{ matrix.python-version }} -- uv run --project ./py nox -f ./py/noxfile.py -s test_types smoke: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/openapi-spec-updates.yml b/.github/workflows/openapi-spec-updates.yml index 424413338..9e292904e 100644 --- a/.github/workflows/openapi-spec-updates.yml +++ b/.github/workflows/openapi-spec-updates.yml @@ -36,23 +36,22 @@ jobs: continue-on-error: true run: mise exec -- make -C py generate-api-client - - name: Run codegen tests - id: codegen - if: steps.update.outputs.changed == 'true' - continue-on-error: true - run: mise exec -- make -C py test-api-codegen - - - name: Run REST client runtime tests - id: runtime - if: steps.update.outputs.changed == 'true' - continue-on-error: true - run: mise exec -- make -C py test-core - - - name: Run public API type tests - id: types - if: steps.update.outputs.changed == 'true' - continue-on-error: true - run: mise exec -- uv run --project ./py nox -f ./py/noxfile.py -s test_types + - parallel: + - name: Run codegen tests + id: codegen + if: steps.update.outputs.changed == 'true' + continue-on-error: true + run: mise exec -- make -C py test-api-codegen + - name: Run REST client runtime tests + id: runtime + if: steps.update.outputs.changed == 'true' + continue-on-error: true + run: mise exec -- make -C py test-core + - name: Run public API type tests + id: types + if: steps.update.outputs.changed == 'true' + continue-on-error: true + run: mise exec -- uv run --project ./py nox -f ./py/noxfile.py -s test_types - name: Add validation results to pull request body if: steps.update.outputs.changed == 'true'