Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
97dfd39
GitHub Classroom Autograding Workflow
github-classroom[bot] Sep 23, 2024
4bc33db
Create index.md file
invalid-email-address Sep 23, 2024
170a8eb
Update to 1 in STEP and README.md
invalid-email-address Sep 23, 2024
89595c2
Update to 1 in STEP and README.md
invalid-email-address Sep 23, 2024
6cc7c19
Update index.md
Andrew27-26 Sep 23, 2024
0f50c9d
Update to 2 in STEP and README.md
invalid-email-address Sep 23, 2024
4b13e0e
Update to 2 in STEP and README.md
invalid-email-address Sep 23, 2024
e0ed365
Update index.md
Andrew27-26 Sep 23, 2024
3492e2b
Update to 3 in STEP and README.md
invalid-email-address Sep 23, 2024
10e912b
Update to 3 in STEP and README.md
invalid-email-address Sep 23, 2024
5887345
Merge pull request #1 from Exp-Communicate-Using-Markdown-Cohort-1/st…
Andrew27-26 Sep 24, 2024
0fb366d
Revert "Start markdown"
Andrew27-26 Sep 24, 2024
4af7a08
Merge pull request #2 from Exp-Communicate-Using-Markdown-Cohort-1/re…
Andrew27-26 Sep 24, 2024
2813de7
Revert "Revert "Start markdown""
Andrew27-26 Sep 24, 2024
3308100
Merge pull request #3 from Exp-Communicate-Using-Markdown-Cohort-1/re…
Andrew27-26 Sep 24, 2024
ca376a0
Update to 4 in STEP and README.md
invalid-email-address Sep 24, 2024
d6b150f
Update index.md
Andrew27-26 Sep 24, 2024
871d8e1
Update to 5 in STEP and README.md
invalid-email-address Sep 24, 2024
5a95659
Update index.md
Andrew27-26 Sep 24, 2024
8e93317
Update to X in STEP and README.md
invalid-email-address Sep 24, 2024
6fce416
Update index.md
Andrew27-26 Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/script/STEP
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0
X
75 changes: 75 additions & 0 deletions .github/workflows/classroom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Autograding Tests
'on':
- workflow_dispatch
- repository_dispatch
permissions:
checks: write
actions: read
contents: read
jobs:
run-autograding-tests:
runs-on: ubuntu-latest
if: github.actor != 'github-classroom[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Step 1 Add Headers
id: step-1-add-headers
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Step 1 Add Headers
setup-command: sleep 20
command: "[ $(cat .github/script/STEP) -ge 1 ] || [ $(cat .github/script/STEP)
= X ]"
timeout: 10
max-score: 1
- name: Step 2 Add an image
id: step-2-add-an-image
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Step 2 Add an image
setup-command: sleep 20
command: "[ $(cat .github/script/STEP) -ge 2 ] || [ $(cat .github/script/STEP)
= X ]"
timeout: 10
max-score: 1
- name: Step 3 Add a code example
id: step-3-add-a-code-example
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Step 3 Add a code example
setup-command: sleep 20
command: "[ $(cat .github/script/STEP) -ge 3 ] || [ $(cat .github/script/STEP)
= X ]"
timeout: 10
max-score: 1
- name: Step 4 Make a task list
id: step-4-make-a-task-list
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Step 4 Make a task list
setup-command: sleep 20
command: "[ $(cat .github/script/STEP) -ge 4 ] || [ $(cat .github/script/STEP)
= X ]"
timeout: 10
max-score: 1
- name: Step 5 Merge your pull request
id: step-5-merge-your-pull-request
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Step 5 Merge your pull request
setup-command: sleep 20
command: "[ $(cat .github/script/STEP) -ge 5 ] || [ $(cat .github/script/STEP)
= X ]"
timeout: 10
max-score: 1
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
STEP-1-ADD-HEADERS_RESULTS: "${{steps.step-1-add-headers.outputs.result}}"
STEP-2-ADD-AN-IMAGE_RESULTS: "${{steps.step-2-add-an-image.outputs.result}}"
STEP-3-ADD-A-CODE-EXAMPLE_RESULTS: "${{steps.step-3-add-a-code-example.outputs.result}}"
STEP-4-MAKE-A-TASK-LIST_RESULTS: "${{steps.step-4-make-a-task-list.outputs.result}}"
STEP-5-MERGE-YOUR-PULL-REQUEST_RESULTS: "${{steps.step-5-merge-your-pull-request.outputs.result}}"
with:
runners: step-1-add-headers,step-2-add-an-image,step-3-add-a-code-example,step-4-make-a-task-list,step-5-merge-your-pull-request
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ _Organize ideas and collaborate using Markdown, a lightweight language for text
Encourage users to open new tabs for steps!
-->

<details id=1 open>
<details id=1>
<summary><h2>Step 1: Add headers</h2></summary>

_Welcome to "Communicate using Markdown"! :wave:_
Expand Down Expand Up @@ -212,7 +212,7 @@ You can now [merge](https://docs.github.com/get-started/quickstart/github-glossa
Review what we learned, ask for feedback, provide next steps.
-->

<details id=X>
<details id=X open>
<summary><h2>Finish</h2></summary>

_Congratulations friend, you've completed this course!_
Expand Down
11 changes: 11 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<h1> Hello Friends </h1>
<p>Hello friend's I'm trying to learn github in under 2 weeks</p>

![download](https://github.com/user-attachments/assets/a128ab5a-c0fc-4e18-8da9-40432b0803d0)

```
This is how it looks, Copy
```
- [x] Like a stone
- [x] More than words
- [ ] Next Time This Time