File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ To store and let GitHub Actions know how to run your workflows, you need to unde
9696 ` ` ` yaml
9797 on:
9898 push:
99+ pull_request:
99100 ` ` `
100101
101102- Lists : List items are denoted by a hyphen and a space (`- item`). It can also be defined in-line using square brackets (`[item1, item2]`).
@@ -118,8 +119,8 @@ To store and let GitHub Actions know how to run your workflows, you need to unde
118119 steps:
119120 - name: Checkout Repo
120121 uses: actions/checkout@v4
121- - name: Set up Python
122- uses: actions/setup-python@v4
122+ - name: Run tests
123+ run: pytest -q
123124 ` ` `
124125
125126 If we convert the above to JSON, it would look like this :
@@ -131,8 +132,8 @@ To store and let GitHub Actions know how to run your workflows, you need to unde
131132 "uses": "actions/checkout@v4"
132133 },
133134 {
134- "name": "Set up Python ",
135- "uses ": "actions/setup-python@v4 "
135+ "name": "Run tests ",
136+ "run ": "pytest -q "
136137 }
137138 ]
138139 ` ` `
You can’t perform that action at this time.
0 commit comments