Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 17, 2021 01:29 pm GMT

Continuous integration and testing with custom GitHub workflow for Windows base image

VIDEO LINK

This video covers how to run continuous integration (CI) and testing (pytest) on a GitHub repo automatically with GitHub Actions. Specifically regarding using a Windows base image, which doesn't allow using any prebuilt GitHub Actions from the marketplace and instead the workflow must be written from scratch with PowerShell.

Linting is done using the following packages:

  • flake8
  • mypy
  • isort

The use cases are:

  • python package dependency is Windows-only and can't be installed on Ubuntu
  • application will be running on Windows natively and you want testing to simulate the production environment
  • application will be cross-platform and you want testing to simulate all possibilities of the production environment

The video covers:

All the code for the video is on GitHub as well, with the link in the video description.

If you find the video helpful you can greatly help me by doing one or all of the following:


Original Link: https://dev.to/alexanderdamiani/continuous-integration-and-testing-with-custom-github-workflow-for-windows-base-image-4l2o

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To