Skip to content

Integration test reorg #158

Integration test reorg

Integration test reorg #158

Workflow file for this run

name: Testing (PR)
on:
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
- '*.txt'
- '*.html'
- '*.css'
- '*.js'
- '*.png'
- '*.jpg'
- '*.jpeg'
- '*.gif'
- '*.svg'
- '*.example'
workflow_dispatch:
inputs:
run_all_tests:
description: 'Run all integration tests regardless of changes'
required: false
default: 'false'
type: boolean
permissions: {}
concurrency:
group: 'ci-${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
jobs:
linting:
uses: './.github/workflows/testing-lint.yaml'
unit-tests:
uses: './.github/workflows/testing-unit.yaml'
secrets: inherit
with:
python_versions_json: '["3.10"]'
create-project:
uses: './.github/workflows/project-setup.yaml'
secrets: inherit
needs:
- unit-tests
integration-tests:
if: always() && (needs.unit-tests.result == 'success' && needs.create-project.result == 'success')
uses: './.github/workflows/testing-integration.yaml'
secrets: inherit
needs:
- unit-tests
- create-project
with:
encrypted_project_api_key: ${{ needs.create-project.outputs.encrypted_project_api_key }}
python_versions_json: '["3.10"]'
rest_sync_suites_json: ''

Check failure on line 59 in .github/workflows/on-pr.yaml

View workflow run for this annotation

GitHub Actions / Testing (PR)

Invalid workflow file

The workflow is not valid. .github/workflows/on-pr.yaml (Line: 59, Col: 30): Invalid input, rest_sync_suites_json is not defined in the referenced workflow. .github/workflows/on-pr.yaml (Line: 60, Col: 33): Invalid input, rest_asyncio_suites_json is not defined in the referenced workflow.
rest_asyncio_suites_json: ''
grpc_sync_suites_json: ''
admin_suites_json: ''
cleanup-project:
if: ${{ always() }}
needs:
- create-project
- integration-tests
uses: './.github/workflows/project-cleanup.yaml'
secrets: inherit
with:
project_id: ${{ needs.create-project.outputs.project_id }}
encrypted_project_api_key: ${{ needs.create-project.outputs.encrypted_project_api_key }}