This commit is contained in:
Kenny628 2023-08-26 07:29:17 +00:00 committed by GitHub
commit 99db6ba5f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 8 deletions

View File

@ -76,12 +76,12 @@ jobs:
run: pnpm cypress install
- name: Unit test
run: pnpm test:unit:ci
run: npm run test:unit:ci --coverage
- name: Update coverage report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
e2e_tests:
name: E2E test
@ -123,4 +123,4 @@ jobs:
run: pnpm cypress install
- name: E2E test
run: pnpm test:e2e:ci
run: npm run test:e2e:ci --coverage

View File

@ -35,6 +35,9 @@ jobs:
- name: Eslint check
run: pnpm lint:script
- name: build
run: pnpm build
unit_test:
name: Unit test
@ -76,12 +79,12 @@ jobs:
run: pnpm cypress install
- name: Unit test
run: pnpm test:unit:ci
run: npm run test:unit:ci --coverage
- name: Update coverage report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
e2e_tests:
name: E2E test
@ -123,4 +126,4 @@ jobs:
run: pnpm cypress install
- name: E2E test
run: pnpm test:e2e:ci
run: npm run test:e2e:ci --coverage

0
adbashj.txt Normal file
View File

View File

@ -13,5 +13,13 @@ export default defineConfig({
framework: 'vue',
bundler: 'vite',
},
setupNodeEvents(on, config) {
require('@cypress/code-coverage/task')(on, config)
// include any other plugin code...
// It's IMPORTANT to return the config object
// with any changed environment variables
return config
}
},
})

1
sad.txt Normal file
View File

@ -0,0 +1 @@
asdasd

0
testcodecov.txt Normal file
View File