Commit 2c3d1b5 1 parent b2f3d1d commit 2c3d1b5 Copy full SHA for 2c3d1b5
File tree 6 files changed +897
-773
lines changed
6 files changed +897
-773
lines changed Original file line number Diff line number Diff line change 37
37
run : npm install
38
38
39
39
- name : Test
40
- run : CI=true npm run test-vite
40
+ run : CI=true npm run test-vite:coverage
41
41
42
42
- name : Upload code coverage to Codecov
43
43
uses : codecov/codecov-action@v3
80
80
NETLIFY_TOKEN : ${{ secrets.NETLIFY_TOKEN }}
81
81
82
82
- name : Test
83
- run : npm run test-storybook -- --url ${{ steps.waitForNetlify.outputs.url }} --ci
83
+ run : npm run test-storybook:coverage -- --url ${{ steps.waitForNetlify.outputs.url }} --ci
84
84
85
- - name : Upload code coverage to Codecov # TODO: Check if codecov works with storybook
85
+ - name : Upload code coverage to Codecov
86
86
uses : codecov/codecov-action@v3
87
87
88
88
lint :
Original file line number Diff line number Diff line change @@ -11,3 +11,6 @@ vite.config.ts.timestamp-*
11
11
# IDEs
12
12
.vscode
13
13
.idea
14
+
15
+ # Test Reports
16
+ /coverage
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ module.exports = {
3
3
addons : [
4
4
'@storybook/addon-links' ,
5
5
'@storybook/addon-essentials' ,
6
- '@storybook/addon-interactions'
6
+ '@storybook/addon-interactions' ,
7
+ '@storybook/addon-coverage'
7
8
] ,
8
9
framework : {
9
10
name : '@storybook/sveltekit' ,
Original file line number Diff line number Diff line change 1
1
# Website NIAEFEUP - FrontEnd
2
2
3
3
[ ![ Build Preview] ( https://api.netlify.com/api/v1/badges/8ddc6c12-c861-4fd5-8087-2c076d090c5a/deploy-status?branch=develop )] ( https://develop--niaefeup-frontend.netlify.app/ )
4
+ [ ![ codecov] ( https://codecov.io/gh/NIAEFEUP/website-niaefeup-frontend/branch/develop/graph/badge.svg?token=K5HKQV5209 )] ( https://codecov.io/gh/NIAEFEUP/website-niaefeup-frontend )
4
5
5
6
The frontend of the website for NIAEFEUP, a student branch in FEUP.
6
7
You can’t perform that action at this time.
0 commit comments