Skip to content

Conversation

@amarouane-ABDELHAK
Copy link
Contributor

Summary: Summary of changes

Run SM2A unit tests before deploying SM2A via veda-deploy

Changes

*Add running unit tests to terraform-deploy-sm2a

AWS_REGION: ${{ inputs.aws-region }}
run: |
# Activate uv venv
source ../.venv/bin/activate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this venv already exist on the runner?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it will be created during uv setup

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. This uv stuff is new to me. Is there reason to deactivate at the end of the job in case another job follows on the same runner? Informational question only, not change request!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It automatically deactivates when the step is complete. You'll need to manually activate it for the next step. It's an annoying thing of GitHub workflows but in this use case it actually turns out to be a useful feature, lol the irony.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uv run make ... should also work here, but this is more explicit anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants