BookmarkSubscribeRSS Feed

How to Work with the GitHub Flow in SAS Studio

Started ‎07-29-2021 by
Modified ‎07-29-2021 by
Views 9,750

The GitHub flow is a lightweight, branch-based workflow. It supports teams and projects where developments or deployments are made regularly and frequently. This short video guide explains how the GitHub flow works. When you combine the GitHub flow with SAS Studio on SAS Viya, you take the SAS code development, collaboration and sharing to a whole new level. The simple data management example demonstrates well the good fit and its advantages.

 

GitHub and the Flow

As of January 2020, GitHub reports having over 40 million users and more than 190 million repositories, making it the largest host of source code in the world. With Microsoft as a parent, GitHub is deeply integrated with Azure pipelines in Azure DevOps.

 

Steps

How to apply the GitHub flow to data management with SAS Studio?

 

  • Add a GitHub repository in SAS Studio.
  • Create a branch.
  • Commit your developed (and tested) code.
  • Open a pull request.
  • Discuss and review the code in GitHub.
  • Test any code changes in SAS Studio. Add more commits if needed.
  • Deploy your branch and test the code.
  • Approve the pull request to merge the branch back into the main.

 

Video

Watch the following video, short demonstrations highlight all the steps above. The example uses SAS Studio on SAS Viya 2021.1. 

 

 

Notes

To replicate the above example you would need at least:

 

  • A GitHub profile.
  • A GitHub repository. You can use the following GitHub repository as an example. Fork it first if you need to change any of the files.
  • SAS Viya 2020.1 (or later) with SAS Studio and the Git plug-in activated.

References

 

You can read more about the GitHub flow here.

 

Thank you for your time reading this post. Please comment and share your experience with GitHub and SAS Studio on SAS Viya.

 

Find more articles from SAS Global Enablement and Learning here.

Version history
Last update:
‎07-29-2021 08:53 PM
Updated by:
Contributors

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started