diff --git a/.github/workflows/e2e-suite.yml b/.github/workflows/e2e-suite.yml index bc4163a78..5f16dfb9b 100644 --- a/.github/workflows/e2e-suite.yml +++ b/.github/workflows/e2e-suite.yml @@ -25,6 +25,10 @@ on: pull_request_number: description: 'The number of the PR. Ensure sha value is provided' required: false + openapi_spec_url: + description: 'URL of the OpenAPI spec to use for the tests' + required: false + default: '' python-version: description: 'Specify Python version to use' required: false @@ -36,6 +40,7 @@ on: options: - 'true' - 'false' + push: branches: - main @@ -107,7 +112,7 @@ jobs: pip install .[obj,dev] - name: Install Package - run: make install + run: make install SPEC="${{ inputs.OPENAPI_SPEC_URL }}" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -296,4 +301,4 @@ jobs: ] } env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} \ No newline at end of file + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}