mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 16:13:23 +02:00
clean up files
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
name: sphinx_steps
|
|
||||||
runs:
|
|
||||||
using: composite
|
|
||||||
steps:
|
|
||||||
- name: Build Sphinx Documentation
|
|
||||||
run: |-
|
|
||||||
set -e
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y --no-install-recommends libaugeas-dev
|
|
||||||
FINAL_STATUS=0
|
|
||||||
declare -a FAILED_BUILDS
|
|
||||||
tools/venv.py
|
|
||||||
source venv/bin/activate
|
|
||||||
for doc_path in */docs
|
|
||||||
do
|
|
||||||
echo ""
|
|
||||||
echo "##[group]Building $doc_path"
|
|
||||||
if ! sphinx-build -W --keep-going -b html $doc_path $doc_path/_build/html; then
|
|
||||||
FINAL_STATUS=1
|
|
||||||
FAILED_BUILDS[${#FAILED_BUILDS[@]}]="${doc_path%/docs}"
|
|
||||||
fi
|
|
||||||
echo "##[endgroup]"
|
|
||||||
done
|
|
||||||
if [[ $FINAL_STATUS -ne 0 ]]; then
|
|
||||||
echo "##[error]The following builds failed: ${FAILED_BUILDS[*]}"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
shell: bash
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
name: upload_coverage
|
|
||||||
runs:
|
|
||||||
using: composite
|
|
||||||
steps:
|
|
||||||
- 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
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
# Environment variables defined in a calling workflow are not accessible to this reusable workflow. Refer to the documentation for further details on this limitation.
|
|
||||||
name: Extended tests jobs
|
name: Extended tests jobs
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
# Environment variables defined in a calling workflow are not accessible to this reusable workflow. Refer to the documentation for further details on this limitation.
|
name: Packaging jobs
|
||||||
name: packaging_jobs
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
# Environment variables defined in a calling workflow are not accessible to this reusable workflow. Refer to the documentation for further details on this limitation.
|
|
||||||
name: Test and package stage
|
name: Test and package stage
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|||||||
Reference in New Issue
Block a user