mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
remove combined tox steps file so we can see better names
This commit is contained in:
parent
54b0b64e58
commit
515c5ff086
1 changed files with 0 additions and 75 deletions
75
.github/actions/tox_steps/action.yml
vendored
75
.github/actions/tox_steps/action.yml
vendored
|
|
@ -1,75 +0,0 @@
|
|||
name: tox_steps
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Install MacOS dependencies
|
||||
if: startsWith(matrix.IMAGE_NAME, 'macOS')
|
||||
run: |-
|
||||
set -e
|
||||
unset HOMEBREW_NO_INSTALL_FROM_API
|
||||
brew untap homebrew/core homebrew/cask
|
||||
brew update
|
||||
brew install augeas
|
||||
shell: bash
|
||||
- name: Install Linux dependencies
|
||||
if: startsWith(matrix.IMAGE_NAME, 'ubuntu')
|
||||
run: |-
|
||||
set -e
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
libaugeas-dev \
|
||||
nginx-light
|
||||
sudo systemctl stop nginx
|
||||
sudo sysctl net.ipv4.ip_unprivileged_port_start=0
|
||||
shell: bash
|
||||
- uses: actions/setup-python@v5.0.0
|
||||
with:
|
||||
python-version: "${{ matrix.PYTHON_VERSION }}"
|
||||
- name: Install runtime dependencies
|
||||
run: |-
|
||||
set -e
|
||||
python3 tools/pip_install.py tox
|
||||
shell: bash
|
||||
- name: Create test farm pem file
|
||||
if: contains(matrix.TOXENV, 'test-farm')
|
||||
env:
|
||||
PEM_CONTENTS: "${{ secrets.AWS_TEST_FARM_PEM }}"
|
||||
run: 'echo ${PEM_CONTENTS} >> github-test-farm.pem'
|
||||
shell: bash
|
||||
- name: Run tox
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
|
||||
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
|
||||
AWS_EC2_PEM: "github-test-farm.pem"
|
||||
PIP_USE_PEP517: "${{ matrix.PIP_USE_PEP517 }}"
|
||||
TOXENV: "${{ matrix.TOXENV }}"
|
||||
run: |-
|
||||
set -e
|
||||
export TARGET_BRANCH="`echo "${BUILD_SOURCEBRANCH}" | sed -E 's!refs/(heads|tags)/!!g'`"
|
||||
[ -z "${SYSTEM_PULLREQUEST_TARGETBRANCH}" ] || export TARGET_BRANCH="${SYSTEM_PULLREQUEST_TARGETBRANCH}"
|
||||
env
|
||||
python3 -m tox run
|
||||
shell: bash
|
||||
- name: Upload coverage data
|
||||
if: env.uploadCoverage == true && (startsWith(matrix.TOXENV, 'cover') || startsWith(matrix.TOXENV, 'integration'))
|
||||
run: |-
|
||||
python3 tools/pip_install.py -I coverage
|
||||
case "${{ runner.os }}" in
|
||||
Darwin)
|
||||
CODECOV_URL="https://uploader.codecov.io/latest/macos/codecov"
|
||||
;;
|
||||
Linux)
|
||||
CODECOV_URL="https://uploader.codecov.io/latest/linux/codecov"
|
||||
;;
|
||||
Windows_NT)
|
||||
CODECOV_URL="https://uploader.codecov.io/latest/windows/codecov.exe"
|
||||
;;
|
||||
*)
|
||||
echo "Unexpected OS"
|
||||
exit 0
|
||||
esac
|
||||
curl --retry 3 -o codecov "$CODECOV_URL"
|
||||
chmod +x codecov
|
||||
coverage xml
|
||||
./codecov || echo "Uploading coverage data failed"
|
||||
shell: bash
|
||||
Loading…
Reference in a new issue