3

The important part of the blog post you link to isn't testing the syntax of the YAML file; it's testing the semantics of the Prometheus configuration. The core configuration in that post includes a fragment: - alert: MyAlert expr: avg without(instance)(up) < 0.75 for: 2m labels: severity: page How do you know this is the right configuration? ...


3

You do not need to include anything into your assembly to run your tests using GitHub Actions. Just create workflow file in .github/workflows folder with the following content (assuming that you have .NET Core project): --- name: Tests on: push jobs: tests: name: Unit Testing runs-on: windows-latest steps: - uses: actions/checkout@v2.1....


2

Checkout this solution with codepipeline. https://aws.amazon.com/blogs/big-data/implement-continuous-integration-and-delivery-of-serverless-aws-glue-etl-applications-using-aws-developer-tools/


1

You've missed the part of the 1st quote about multi-stage builds and other methods which avoid exactly the problem mentioned in the 2nd quote: the resulting image would consist of it's base image and artifacts from previous stages while being run in the same build step of a pipeline.


1

The root cause turned out to be that there were over 100,000 files for the Visual Studio Step to scan for tests, in the Search folder. To resolve, I pointed the search folder to a more specific bin folder down the folder tree. This reduced the number of files scanned and dramatically shortened the overall run time for the step.


1

Yes Cypress is capable to run in CI. https://docs.cypress.io/guides/guides/continuous-integration.html#Record-tests Most of the time it is just running cypress run. In our case we ran the docker cypress.


1

If you are unit testing, you should be mocking external dependencies like Spark and AWS Glue. Look into Python mocking frameworks like unittest.mock, monkeypatch and pytest-mock. Your unit tests should just test your code and how it interacts with Spark and AWS Glue. Your unit tests should not test Spark and AWS Glue functionality. Do that in your ...


Only top voted, non community-wiki answers of a minimum length are eligible