A test of CI tools w/ poetry
Essentially this project can be tested and validated for package vulnerabilities using the following sequence:
poetry install
poetry run pytest
poetry run safety check
There are two methods for automating this using google cloud build and github respectively:
- Using cloud build set up a trigger to run the
cloudbuild.yaml
file. This can be run manually using the command:
gcloud builds submit --config cloudbuild.yaml .
- There is a github action in the
.github/workflows/main.yml
directory. This should run automatically.
You can run this project using the command below:
poetry run cit