Skip to content

Commit

Permalink
checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
jctanner committed Oct 8, 2024
1 parent 2815be0 commit c3a2078
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,25 @@ legacy_tox_ini = """
PULP_DB_ENCRYPTION_KEY=/tmp/database_fields.symmetric.key
PULP_RH_ENTITLEMENT_REQUIRED=true
PULP_DEPLOY_ROOT=/tmp/pulp
PULP_STATIC_ROOT=/tmp/pulp
commands =
sh -c ' \
rm -rf /tmp/pulp && mkdir -p /tmp/pulp && \
rm -rf /tmp/pulp && \
mkdir -p /tmp/pulp && \
mkdir -p /tmp/pulp/tmp && \
mkdir -p /tmp/pulp/tmp/artifact-tmp && \
mkdir -p /tmp/pulp/media && \
mkdir -p /tmp/pulp/assets && \
if [ ! -f /tmp/database_fields.symmetric.key ]; then openssl rand -base64 32 > /tmp/database_fields.symmetric.key; fi && \
if [ -d ../django-ansible-base ]; then pip install -e ../django-ansible-base; fi && \
(pip show galaxy_ng || pip install -e .) && \
if [ -d ../pulpcore ]; then pip install -e ../pulpcore; fi && \
if [ -d ../pulp_ansible ]; then pip install -e ../pulp_ansible; fi && \
if [ -d ../galaxy-importer ]; then pip install -e ../galaxy-importer; fi && \
pytest --capture=no -v --pyargs "galaxy_ng.tests.unit" '
pytest \
--capture=no -v \
-p 'no:pulpcore' \
-p 'no:pulp_ansible' \
--pyargs "galaxy_ng.tests.unit" \
'
"""

0 comments on commit c3a2078

Please sign in to comment.