google / gcp_scanner

A comprehensive scanner for Google Cloud
Apache License 2.0
304 stars 95 forks source link

Optimize GitHub Actions Workflow: Cache Dependencies install and Parallelize Linting & Testing #297

Closed Am0stafa closed 9 months ago

Am0stafa commented 9 months ago

Description

This pull request addresses the previous slow execution time of our GitHub Actions workflow which was averaging around 2 minutes and 30 seconds. By caching dependencies and parallelizing the linting and testing jobs, this PR aims to significantly reduce the workflow execution time, thus speeding up our CI/CD pipeline.

Changes Made

Additional Notes

mshudrak commented 9 months ago

Well, it still takes 2m40seconds not sure if we are actually speeding up anything here but having pylint and pytest to be separate makes sense from usability point of view. Thanks for submitting it.

Am0stafa commented 9 months ago

@mshudrak I really value your time and i am not in rush but is there any updates?