Skip to content

Commit e0a4a8b

Browse files
feat: add CI and Codecov badges to README and set up Codecov integration
1 parent 574e270 commit e0a4a8b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,17 @@ jobs:
9292
- name: Run tests
9393
run: npm test
9494

95+
- name: Generate coverage report
96+
run: npm run test:cover:report
97+
98+
- name: Upload coverage to Codecov
99+
if: ${{ success() && (github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork) }}
100+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
101+
with:
102+
token: ${{ secrets.CODECOV_TOKEN }}
103+
files: ./coverage/lcov.info
104+
fail_ci_if_error: true
105+
95106
- name: Check dependencies
96107
run: npm run checkDependencies
97108
continue-on-error: true

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Deepnote Extension for Visual Studio Code
22

3+
[![CI](https://github.com/deepnote/vscode-deepnote/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/deepnote/vscode-deepnote/actions/workflows/ci.yml)
4+
[![codecov](https://codecov.io/gh/deepnote/vscode-deepnote/branch/main/graph/badge.svg)](https://codecov.io/gh/deepnote/vscode-deepnote)
5+
36
A [Visual Studio Code](https://code.visualstudio.com/) extension that provides support for [Deepnote notebooks](https://deepnote.com/) directly within VS Code. This extension allows you to work with Deepnote notebooks in VS Code, bringing the rich data science capabilities of Deepnote to your favorite editor.
47

58
![Deepnote Projects](./images/deepnote-projects.png)

0 commit comments

Comments
 (0)