You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/continuous-integration.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ in the [Collaborative Git lesson](https://coderefinery.github.io/git-collaborati
194
194
195
195
#### Fork and clone an existing example repository
196
196
197
-
- Fork the example repo. There are two options one for [python](https://github.com/AaltoRSE/PyTestingExample) and one for [R](https://github.com/AaltoRSE/RTestingExample).
197
+
- Fork the example repo. There are two options one for [Python](https://github.com/AaltoRSE/PyTestingExample) and one for [R](https://github.com/AaltoRSE/RTestingExample).
198
198
- Clone your fork (`git clone git@github.com:<yourGitID>/<Py/R>TestingExample.git`).
199
199
200
200
@@ -234,7 +234,7 @@ in the [Collaborative Git lesson](https://coderefinery.github.io/git-collaborati
234
234
```
235
235
236
236
GitHub creates the following file for you in the subfolder `.github/workflows`.
237
-
Modify the highlited lines according to the action below. This will add a code coverage
237
+
Modify the highlighted lines according to the action below. This will add a code coverage
238
238
report to new pull requests. The if clause restricts this to pull requests, as otherwise
239
239
this action would not have a target to write the reports to. On pushes only the unittesting is run.
240
240
@@ -321,7 +321,7 @@ in the [Collaborative Git lesson](https://coderefinery.github.io/git-collaborati
321
321
- test
322
322
before_script:
323
323
- cat /proc/version #print out operations system
324
-
- python -V # Print out python version for debugging
324
+
- python -V # Print out Python version for debugging
325
325
- pip install pytest flake8
326
326
- if [ -f requirements.txt ]; then pip install -r requirements.txt;fi
327
327
@@ -552,14 +552,14 @@ the commit message or the pull/merge request contained the correct issue number)
552
552
553
553
See also:
554
554
- GitHub: [closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/)
555
-
- GitLab: [closing issues using keywords](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues)
555
+
- GitLab: [closing issues using keywords](https://docs.gitlab.com/user/project/issues/managing_issues/#closing-issues-automatically)
556
556
557
557
Discuss whether this is a useful feature. And if it is, why do you think is it useful?
558
558
559
559
### Step 10: Increase your code coverage
560
560
561
561
We are currently missing several functions in our tests. Write a test for the `multiply` function in a new branch and create a pull request.
562
-
On python you can directly observe the increase in code coverage.
562
+
On Python you can directly observe the increase in code coverage.
563
563
On R you can have a look at the action (`Actions -> last run of your action -> Select a job -> Test coverage`). If you compare this with the
564
564
previous run, you should see an increase once the update is in.
565
565
@@ -582,7 +582,7 @@ Finally, we discuss together about our experiences with this exercise.
582
582
[centralized](https://coderefinery.github.io/git-collaborative/02-centralized/) and
583
583
[forking](https://coderefinery.github.io/git-collaborative/03-distributed/) workflows - have a look at this
584
584
[alternative exercise](./full-cycle-ci) to see how that works.
585
-
- GitHub Actions has a [Marketpace](https://github.com/marketplace?type=actions) which offer wide range of automatic workflows
585
+
- GitHub Actions has a [Marketplace](https://github.com/marketplace?type=actions) which offer wide range of automatic workflows
586
586
- On GitLab use [GitLab CI](https://about.gitlab.com/product/continuous-integration/)
587
587
- For Windows builds you can also use [Appveyor](https://www.appveyor.com)
0 commit comments