The Wayback Machine - https://web.archive.org/web/20230906123745/https://github.com/skills/test-with-actions
Skip to content

skills/test-with-actions

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
August 18, 2023 13:54
March 22, 2023 16:53
August 18, 2023 13:53
May 30, 2023 15:47

Test with Actions

Create workflows that enable you to use Continuous Integration (CI) for your projects.

Welcome

Continuous integration can help you stick to your team’s quality standards by running tests and reporting the results on GitHub. CI tools run builds and tests, triggered by commits. The results post back to GitHub in the pull request. The goal is fewer issues in main and faster feedback as you work.

  • Who is this for: Developers, DevOps Engineers, new GitHub users, students, teams.
  • What you'll learn: What continuous integration is, how to use GitHub Actions for CI, how to create a workflow that runs tests and produces test reports.
  • What you'll build: We'll use remark-lint to check the consistency of Markdown files.
  • Prerequisites: We assume you've completed Hello GitHub Actions first.
  • How long: This course takes less than two hours to complete.

In this course, you will:

  1. Add a test workflow
  2. Fix the test
  3. Upload a test report
  4. Add branch protections
  5. Merge your pull request

How to start this course

start-course

  1. Right-click Start course and open the link in a new tab.
  2. In the new tab, most of the prompts will automatically fill in for you.
    • For owner, choose your personal account or an organization to host the repository.
    • We recommend creating a public repository, as private repositories will use Actions minutes.
    • Scroll down and click the Create repository button at the bottom of the form.
  3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.

Get help: Post in our discussion boardReview the GitHub status page

© 2023 GitHub • Code of ConductMIT License