Giter Club home page Giter Club logo

github-actions-workshop_new's Introduction

GitHub Actions Workshop

This GitHub repository is sandbox of Github Actions to play with for the purposes of a workshop (or independent learning)

See the slides here to be guided through these activities.

Files and set up

This repository contains some mock scripts and files to mimic what a code analysis repository might look like so GitHub actions within this context can be demonstrated.

For the tutorial you will need two main folders:

  • activity-1-sample-github-actions - we walk through these first to get the idea of how GitHub actions are set up.
  • activity-2-find-the-break - Intentionally broken GitHub actions that will give you good practice at troubleshooting GitHub actions

Additionally, the utils folder has files that are referenced by some of the GitHub Actions. The data folder has a dataset that is utilized by the mock analysis files that are used for this tutorial.

Mock analysis file set up

Usage:

To re-run the entire "analysis", run sh run_analysis.sh in a Terminal or Command Prompt. You will need Python and R installed on whatever environment you choose to run it.

Description of the files and folders

  • run_analysis.sh - this script represents a main script that can be called to re-run the entire analysis.
  • 01-python_test.py - this script represents a python script that is called by run_analysis.sh. In order for it to be run by GitHub actions, the Docker image or other environment would need to have Python installed.
  • 02-r_test.R - this script represents an R script that is also called by run_analysis.sh. In order for it to be run by GitHub actions, the Docker image or other environment would need to have R installed.
  • 03-make-a-plot.Rmd - This file is an R Markdown file, which is commonly used for data analysis notebook output (it creates the 03-make-a-plot.html when run). In order for it to be run by GitHub actions, the Docker image or other environment would need to have R and RMarkdown and other packages used by the Rmd installed.

Data folder

The data folder represents where data might be kept for an analysis. Often times files that are too big to be stored on GitHub might need to be stored elsewhere and downloaded by a data download script.

github-actions-workshop_new's People

Contributors

ujjwalbaid0408 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.