mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
pass variables through better
This commit is contained in:
parent
b28ff064e1
commit
6422ce5cca
4 changed files with 12 additions and 2 deletions
2
.github/actions/run_tox/action.yml
vendored
2
.github/actions/run_tox/action.yml
vendored
|
|
@ -16,7 +16,7 @@ runs:
|
|||
using: composite
|
||||
steps:
|
||||
- name: Create test farm pem file
|
||||
if: contains(matrix.TOXENV, 'test-farm')
|
||||
if: contains(inputs.TOXENV, 'test-farm')
|
||||
env:
|
||||
PEM_CONTENTS: "${{ inputs.AWS_TEST_FARM_PEM }}"
|
||||
run: |-
|
||||
|
|
|
|||
5
.github/actions/setup_tox/action.yml
vendored
5
.github/actions/setup_tox/action.yml
vendored
|
|
@ -5,6 +5,9 @@ inputs:
|
|||
description: 'Contents of keyfile for AWS'
|
||||
AWS_EC2_PEM_FILE:
|
||||
description: 'Location of keyfile for AWS'
|
||||
PYTHON_VERSION:
|
||||
description: 'Python version to run tests with'
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
|
|
@ -31,7 +34,7 @@ runs:
|
|||
shell: bash
|
||||
- uses: actions/setup-python@v6.2.0
|
||||
with:
|
||||
python-version: "${{ matrix.PYTHON_VERSION }}"
|
||||
python-version: "${{ inputs.PYTHON_VERSION }}"
|
||||
- name: Install runtime dependencies
|
||||
run: |-
|
||||
set -e
|
||||
|
|
|
|||
2
.github/workflows/extended_tests_jobs.yml
vendored
2
.github/workflows/extended_tests_jobs.yml
vendored
|
|
@ -50,6 +50,8 @@ jobs:
|
|||
uses: actions/checkout@v6.0.2
|
||||
- name: Setup tox
|
||||
uses: "./.github/actions/setup_tox"
|
||||
with:
|
||||
PYTHON_VERSION: "${{ matrix.PYTHON_VERSION }}"
|
||||
- name: Run tox
|
||||
uses: "./.github/actions/run_tox"
|
||||
env:
|
||||
|
|
|
|||
5
.github/workflows/standard_tests_jobs.yml
vendored
5
.github/workflows/standard_tests_jobs.yml
vendored
|
|
@ -46,8 +46,13 @@ jobs:
|
|||
uses: actions/checkout@v6.0.2
|
||||
- name: Setup tox
|
||||
uses: "./.github/actions/setup_tox"
|
||||
with:
|
||||
PYTHON_VERSION: "${{ matrix.PYTHON_VERSION }}"
|
||||
- name: Run tox
|
||||
uses: "./.github/actions/run_tox"
|
||||
with:
|
||||
PIP_USE_PEP517: "${{ matrix.PIP_USE_PEP517 }}"
|
||||
TOXENV: "${{ matrix.TOXENV }}"
|
||||
- name: Upload coverage
|
||||
uses: "./.github/actions/upload_coverage"
|
||||
test_sphinx_builds:
|
||||
|
|
|
|||
Loading…
Reference in a new issue