Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/scripts/before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ echo
echo "# Pulp config:"
tail -v -n +1 .ci/ansible/settings/settings.*

echo
echo "# Pulp CLI config"
tail -v -n +1 "../pulp-cli-deb/tests/cli.toml"

echo
echo "# Containerfile:"
tail -v -n +1 .ci/ansible/Containerfile
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/scripts/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,13 @@ export PULP_FIXTURES_URL="http://pulp-fixtures:8080"
# some pulp-cli tests use the api root envvar
export PULP_API_ROOT="$(EDITOR=cat pulp config edit 2>/dev/null | awk -F'"' '/api_root/{print $2; exit}')"
pushd ../pulp-cli-deb
pip install -r test_requirements.txt
pytest -v tests -m "pulp_deb"
if [[ -f "test_requirements.txt" ]]
then
pip install -r test_requirements.txt
pytest -v tests -m "pulp_deb"
else
PULP_CA_BUNDLE="/usr/local/share/ca-certificates/pulp_webserver.crt" make livetest
fi
popd

if [ -f "$POST_SCRIPT" ]; then
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
with:
python-version: "3.11"

- name: "Install uv"
uses: "astral-sh/setup-uv@v7"
with:
enable-cache: true

- name: "Download plugin package"
uses: "actions/download-artifact@v8"
with:
Expand Down
Loading