Skip to content

Commit

Permalink
include env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai committed Nov 12, 2024
1 parent 6c1344c commit 950ba0a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/e2e-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
python-version:
description: 'Specify Python version to use'
required: false
default: '3.10'
run-eol-python-version:
description: 'Run EOL python version?'
required: false
Expand All @@ -34,6 +33,11 @@ on:
- main
- dev

env:
DEFAULT_PYTHON_VERSION: "3.9"
EOL_PYTHON_VERSION: "3.8"
EXIT_STATUS: 0

jobs:
integration_tests:
name: Run integration tests on Ubuntu
Expand Down Expand Up @@ -86,7 +90,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ inputs.run-eol-python-version == 'true' && '3.9' || inputs.python-version }}
python-version: ${{ inputs.run-eol-python-version == 'true' && env.EOL_PYTHON_VERSION || inputs.python-version || env.DEFAULT_PYTHON_VERSION }}

- name: Install Python dependencies and update cert
run: |
Expand Down

0 comments on commit 950ba0a

Please sign in to comment.