Skip to content

Commit

Permalink
Improvement of github workflow and added test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sayantani11 committed Sep 27, 2021
1 parent 1afc4db commit a2f838e
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cover.yaml
@@ -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
22 changes: 22 additions & 0 deletions .github/workflows/lint-link.yml
@@ -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 {}
10 changes: 10 additions & 0 deletions .markdownlinkcheck.json
@@ -0,0 +1,10 @@
{
"ignorePatterns": [{
"pattern": "^https://calendar.google.com/calendar"
}],
"timeout": "5s",
"retryOn429": true,
"retryCount": 5,
"fallbackRetryDelay": "30s",
"aliveStatusCodes": [200, 206]
}

0 comments on commit a2f838e

Please sign in to comment.