Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvement of github workflow and added test coverage
- Loading branch information
1 parent
1afc4db
commit a2f838e
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# add public code coverage reports | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- run: "make test-cover" | ||
- uses: codecov/codecov-action@v2 | ||
with: | ||
file: ./coverage.out | ||
fail_ci_if_error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Check for broken links | ||
name: Lint Documentation | ||
on: | ||
push: | ||
paths: | ||
- "docs/**" | ||
branches: | ||
- main | ||
pull_request: | ||
paths: "docs/**" | ||
jobs: | ||
lint_docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14" | ||
- name: Install markdown-link-check | ||
run: npm install -g markdown-link-check | ||
- name: markdown-link-check | ||
run: find . -name \*.md | xargs -I{} markdown-link-check -c .markdownlinkcheck.json {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"ignorePatterns": [{ | ||
"pattern": "^https://calendar.google.com/calendar" | ||
}], | ||
"timeout": "5s", | ||
"retryOn429": true, | ||
"retryCount": 5, | ||
"fallbackRetryDelay": "30s", | ||
"aliveStatusCodes": [200, 206] | ||
} |