Iain-S / sentry-bot

Autonomous Nerf turret
MIT License
3 stars 3 forks source link

corrupted .venv GH actions bug #22

Open Iain-S opened 2 years ago

Iain-S commented 2 years ago

Sometimes we get a warning in our pre-commit or pytest GH actions, which tends to lead to a failed test:

The virtual environment found in /home/runner/work/sentry-bot/sentry-bot/.venv seems to be broken. Recreating virtualenv sentrybot in /home/runner/work/sentry-bot/sentry-bot/.venv

I suspect this happens because of the two actions altering the venv at the same time (e.g. as they did for https://github.com/Iain-S/sentry-bot/pull/21).