Using Github Actions to Run RSpec and Test automatically

Now that tests are setup, and coverage is shown, the next step in building out a product is to setup CI: Continuous Integration. An easy way to get started in that direction is to use Github Actions. With this first simple and small Github Action, we can automatically run our tests when we push our code up to Github. If the code doesn't pass our tests, then we'll know immediately (or within a few minutes).
⏱️ Timestamps: 00:00 - Introduction 00:42 - Setup 01:00 - GA action YML file 03:45 - Setting up Github settings 04:30 - Checking the workflow / how it ran
💌 Newsletter: https://www.programmingtil.com/
🪐Elsewhere: Twitter: https://twitter.com/davidwparker Twitter: https://twitter.com/programmingtil GitHub: https://github.com/davidwparker
💭Concepts:
  • Github Actions
  • Github
  • Continuous Integration (CI)

📚Resources:
  • https://github.com/features/actions

🎬 Subscribe! http://bit.ly/subdavidwparker
My name is David W Parker and I’m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. I’m a huge fan of Ruby on Rails, Svelte, and WebGL. I’ve used React a lot in the past, as well as some Vue and AngularJS. I’ve done some professional Python and Django as well. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.

ruby #rails #rubyonrails #continuousintegration

© programmingtil.com