GithubHelp home page GithubHelp logo

00-test-repo-demo's Introduction

CF Test Repo (Demo) Build Status

This is only a test. Become familiar with the workflow for your lab assignments!

Get some practice in ๐Ÿ˜ƒ

  1. Fork this repository.

  2. Copy the resulting git link.

  3. git clone this fork into your my-forked-repos directory (review setup instructions).

  4. cd into this repository.

  5. Immediately git checkout -b your-name (ex: git checkout -b rick-patci)

  • Notice the "build passing" message icon in this README file? That's an import from Travis CI - just one of many continuous integration tools used by organizations and project teams all over the world! We use Travis CI in this class to help us lint code being submitted (in your case as the developer, it will test any PRs you submit for proper linting).
  • Let's try and get a "build failing" message instead, so we can see what that's like:
  1. Within the starter-code directory, open up the wat.js file and remove the semicolon from the end of the line and save the file.
  2. Back in our terminal, type git status to ensure any changes were actually being tracked by git.
  3. Let's take this a step further and type git diff - git diff displays changes line by line, with red lines being the previous code, and green lines being the new code.
  4. We should see a red line with the semicolon at the end, and a green line with a missing semicolon at the end.
  5. Now to exit this diff, we type q to return back to the terminal.
  6. Now, assuming we are still inside of the starter-code folder, we can:
  7. git add wat.js
  8. git commit -m 'remove semicolon to make the lint test fail'
  9. git push origin your-name
  10. Head over to GitHub to make a PR from the branch with your name.
  11. This will take you to a comment section that has some "bolierplate" (pre-strutured) comments. It is your task to fill in the blanks and follow the instructions ๐Ÿ˜ƒ
  12. Once finished with the PR comments section, submit the PR, copy the resulting link that you see in your URL path at the top of the browser window after creating the Pull Request (to submit in Canvas).
  13. Now let the test finish, and see what the result is!

When finished, submit to Canvas the links to your PR as well as the sample Issue that you created.

00-test-repo-demo's People

Contributors

patci avatar aaron-j-krause avatar

Watchers

James Cloos 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.