Skip to content

Commit

Permalink
fix(package): No longer using venv volume.
Browse files Browse the repository at this point in the history
  • Loading branch information
acederberg committed Aug 19, 2024
1 parent 3498b43 commit 4dabfd7
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/commit_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,28 +134,28 @@ jobs:
up --detach --quiet-pull
echo -e "## Permissions on \`.venv\`.\n\n" >> $GITHUB_STEP_SUMMARY
# echo -e "## Permissions on \`.venv\`.\n\n" >> $GITHUB_STEP_SUMMARY
#
# echo -e "In container:\n\n~~~" >> $GITHUB_STEP_SUMMARY
# docker compose \
# --file docker/compose.yaml \
# exec server \
# bash -c "ls -lah ~" >> $GITHUB_STEP_SUMMARY
#
# echo -e "~~~\n\nWithin container venv~~~\n\n" >> $GITHUB_STEP_SUMMARY
# docker compose \
# --file docker/compose.yaml \
# exec server \
# bash -c "ls -lah ~/.venv" >> $GITHUB_STEP_SUMMARY
#
# echo -e "~~~\n\nOn host\n\n~~~" >> $GITHUB_STEP_SUMMARY
# ls -lah docker >> $GITHUB_STEP_SUMMARY
# echo "~~~" >> $GITHUB_STEP_SUMMARY
echo -e "In container:\n\n~~~"
docker compose \
--file docker/compose.yaml \
exec server \
bash -c "ls -lah ~" >> $GITHUB_STEP_SUMMARY
echo -e "~~~\n\nWithin container venv~~~\n\n" >> $GITHUB_STEP_SUMMARY
docker compose \
--file docker/compose.yaml \
exec server \
bash -c "ls -lah ~/.venv" >> $GITHUB_STEP_SUMMARY
echo -e "~~~\n\nOn host\n\n~~~" >> $GITHUB_STEP_SUMMARY
ls -lah docker >> $GITHUB_STEP_SUMMARY
echo "~~~" >> $GITHUB_STEP_SUMMARY
docker compose \
--file docker/compose.yaml \
exec server \
bash -c "python -m venv ~/.venv"
bash -c 'mkdir ~/app/.venv && python -m venv ~/app/.venv'
# NOTE: ``act.yaml`` defined everything necessary for the client and server.
- name: Install Dependencies In Server.
Expand All @@ -164,7 +164,7 @@ jobs:
--file docker/compose.yaml \
exec server \
bash -c ' \
source ~/.venv/bin/activate \
source ~/app/.venv/bin/activate \
&& pip install --quiet poetry \
&& poetry install --with test'
Expand All @@ -174,15 +174,15 @@ jobs:
--file docker/compose.yaml \
exec server \
bash -c ' \
source ~/.venv/bin/activate \
source ~/app/.venv/bin/activate \
&& poetry run simulatus apply'
echo -e "# Dummy Data Report\n\n~~~" >> $GITHUB_STEP_SUMMARY
docker compose \
--file docker/compose.yaml \
exec server \
bash -c ' \
source ~/.venv/bin/activate \
source ~/app/.venv/bin/activate \
&& poetry run simulatus --loud reports aggregate' \
>> $GITHUB_STEP_SUMMARY
echo -e "~~~\n" >> $GITHUB_STEP_SUMMARY
Expand All @@ -193,6 +193,6 @@ jobs:
--file docker/compose.yaml \
exec server \
bash -c ' \
source ~/.venv/bin/activate \
source ~/app/.venv/bin/activate \
&& pip install poetry \
&& poetry run pytest --count 1'

0 comments on commit 4dabfd7

Please sign in to comment.