SAS Communities Library

We’re smarter together. Learn from this collection of community knowledge and add your expertise.
BookmarkSubscribeRSS Feed

How to Work with the GitHub Flow in SAS Studio

Started ‎07-29-2021 by
Modified ‎07-29-2021 by
Views 10,143

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. 

 

GitHub Flow and SAS Studio
Video Player is loading.
Current Time 0:00
Duration 8:32
Loaded: 0%
Stream Type LIVE
Remaining Time 8:32
 
1x
    • Chapters
    • descriptions off, selected
    • captions off, selected
    • en (Main), selected
    (view in My Videos)

     

    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-white.png

    Our biggest data and AI event of the year.

    Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

    Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

     

    Register now!

    SAS AI and Machine Learning Courses

    The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

    Get started