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: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# code-server ·[](https://github.com/cdr/code-server/discussions)[](https://cdr.co/join-community)[](https://twitter.com/coderhq)
Copy file name to clipboardExpand all lines: ci/README.md
+14
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ Make sure you have `$GITHUB_TOKEN` set and [hub](https://github.com/github/hub)
21
21
- Remember to update the chart version as well on top of appVersion in `Chart.yaml`.
22
22
- Run `rg -g '!yarn.lock' -g '!*.svg' '3\.7\.5'` to ensure all values have been
23
23
changed. Replace the numbers as needed.
24
+
4. Update the code coverage badge (see [here](#updating-code-coverage-in-readme) for instructions)
24
25
2. GitHub actions will generate the `npm-package`, `release-packages` and `release-images` artifacts.
25
26
1. You do not have to wait for these.
26
27
3. Run `yarn release:github-draft` to create a GitHub draft release from the template with
@@ -43,6 +44,19 @@ Make sure you have `$GITHUB_TOKEN` set and [hub](https://github.com/github/hub)
43
44
11. Update the homebrew package.
44
45
- Send a pull request to [homebrew-core](https://github.com/Homebrew/homebrew-core) with the URL in the [formula](https://github.com/Homebrew/homebrew-core/blob/master/Formula/code-server.rb) updated.
45
46
47
+
## Updating Code Coverage in README
48
+
49
+
Currently, we run a command to manually generate the code coverage shield. Follow these steps:
50
+
51
+
1. Run `yarn badges`
52
+
2. Go into the README and change the color from `red` to `green` in this line:
NOTE: we have to manually change the color because the default is red if coverage is less than 80. See code [here](https://github.com/olavoparno/istanbul-badges-readme/blob/develop/src/editor.ts#L24-L33).
59
+
46
60
## dev
47
61
48
62
This directory contains scripts used for the development of code-server.
0 commit comments