good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
websocket
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
github
nhooyr
websocket
Commits
ebe1f7a1
Unverified
Commit
ebe1f7a1
authored
Aug 15, 2024
by
Mathias Fredriksson
Committed by
GitHub
Aug 15, 2024
Browse files
Options
Downloads
Plain Diff
Merge pull request #466 from coder/mafredri/fix-coverage
Fix coverage
parents
e4379472
4ae75948
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/static.yml
+42
-0
42 additions, 0 deletions
.github/workflows/static.yml
README.md
+1
-1
1 addition, 1 deletion
README.md
with
43 additions
and
1 deletion
.github/workflows/static.yml
0 → 100644
+
42
−
0
View file @
ebe1f7a1
name
:
static
on
:
push
:
branches
:
[
'
master'
]
workflow_dispatch
:
# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages.
permissions
:
contents
:
read
pages
:
write
id-token
:
write
concurrency
:
group
:
pages
cancel-in-progress
:
true
jobs
:
deploy
:
environment
:
name
:
github-pages
url
:
${{ steps.deployment.outputs.page_url }}
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v4
-
name
:
Setup Pages
uses
:
actions/configure-pages@v5
-
name
:
Generate coverage and badge
run
:
|
./ci/test.sh
mkdir -p ./ci/out/static
cp ./ci/out/coverage.html ./ci/out/static/coverage.html
percent=$(go tool cover -func ./ci/out/coverage.prof | tail -n1 | awk '{print $3}' | tr -d '%')
wget -O ./ci/out/static/coverage.svg "https://img.shields.io/badge/coverage-${percent}%25-success"
-
name
:
Upload artifact
uses
:
actions/upload-pages-artifact@v3
with
:
path
:
./ci/out/static/
-
name
:
Deploy to GitHub Pages
id
:
deployment
uses
:
actions/deploy-pages@v4
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
ebe1f7a1
# websocket
# websocket
[

](https://pkg.go.dev/github.com/coder/websocket)
[

](https://pkg.go.dev/github.com/coder/websocket)
[

](https://github.
com/coder
/websocket/coverage.html)
[

](https://
coder.
github.
io
/websocket/coverage.html)
websocket is a minimal and idiomatic WebSocket library for Go.
websocket is a minimal and idiomatic WebSocket library for Go.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment