Skip to content
Ameen Abozaid
Planned lessonJNR-051-L06

Demo: building the Shop pipeline in GitHub Actions

  • Lesson 6 of 7
  • Junior
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

a PR workflow that builds and tests Shop. Prepares JNR-051-LAB1.

Draft outline details

Step by step

  1. Create .github/workflows/ci.yml triggered by pull_request.
  2. Add checkout, setup-java with cache, and ./mvnw -B verify.
  3. Push a branch, open a PR, and watch the run.
  4. Make a test fail on purpose and see the red check.
  5. Planned mistake: a build that passes with zero tests run because tests were skipped with -DskipTests; remove the flag and confirm the test count in the log.
  6. Upload the test report as an artifact.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.