Student User Guide
  • 👋Welcome to AssignmentOS!
  • 💻Workflow
    • 1️⃣Prerequisites
    • 2️⃣Begin Assignment
    • 3️⃣Cloning Repo
    • 4️⃣Pushing Changes
    • 5️⃣Submitting Solution
  • 🔎Tracking
    • Tracking Your Assignments
  • 👁️Reviewing Results
    • View Score & Status
    • View Report
    • View Submission Feedback & Recommendations
  • ❓FAQ
    • GitHub/GitLab 404 Error
    • Forgot To Submit Solution Before Deadline
    • Solution Invalid - Test File Has Been Modified
Powered by GitBook
On this page
  • Pushing Changes
  • GitHub Actions
  • GitLab CI/CD

Was this helpful?

  1. Workflow

Pushing Changes

PreviousCloning RepoNextSubmitting Solution

Last updated 1 year ago

Was this helpful?

Pushing Changes

In order to be able to submit your solution, you need to push your work up to the main branch of your repository.

To do this, please run the following commands inside the directory of the repo you cloned locally:

git add *
git commit -m "Commit message here"
git push

If your repo is in GitHub, You may also commit and push your changes using a GitHub GUI, such as or .

Note that you can commit in small chunks if you like as you can push one or more commits to your repo.

You may also push your changes to a separate branch, but be aware that each branch you create must be merged to main before you submit your solution, as we run our analysis on your code that is in the main branch of your repo.

GitHub Actions

Each time you push a new commit to your GitHub repo, a will automatically run that builds and tests your solution against all the unit test cases inside your repo.

You can then view the result of the build directly in your GitHub repo:

You can also build and test your solution locally. Your repo's README and .github/workflows/*.yml file will contain the commands that you need to execute to run your solution locally.

GitLab CI/CD

You can then view the result of the build directly in your GitHub repo:

You can also build and test your solution locally. Your repo's README and .gitlab-ci.yml file will contain the commands that you need to execute to run your solution locally.

Each time you push a new commit to your GitLab repo, a job will automatically run that builds and tests your solution against all the unit/integration test cases inside your repo.

💻
4️⃣
GitLab CI/CD
Github Desktop
Sourcetree
GitHub Action
Example GitHub Action result
Example GitHub Action result details
Example GitLab CI/CD job result
Example GitLab CI/CD job result details