File tree Expand file tree Collapse file tree 4 files changed +23
-606
lines changed Expand file tree Collapse file tree 4 files changed +23
-606
lines changed Original file line number Diff line number Diff line change 4141
4242 # LWC unit tests
4343 - name : ' LWC unit tests'
44- run : npm run test:unit:coverage
44+ run : npm run test:coverage
45+
46+ # Upload LWC code coverage data
47+ - name : ' Upload code coverage for LWC to Codecov.io'
48+ uses : codecov/codecov-action@v1
49+ with :
50+ flags : LWC
4551
4652 scratch-org-tests :
4753 runs-on : ubuntu-latest
8086 - name : ' Run Apex tests'
8187 run : ' sfdx force:apex:test:run -c -r human -d ./tests/apex -w 20'
8288
89+ # Upload Apex code coverage data
90+ - name : ' Upload code coverage for Apex to Codecov.io'
91+ uses : codecov/codecov-action@v1
92+ with :
93+ flags : Apex
94+
8395 # Housekeeping
8496 - name : ' Delete scratch org'
8597 if : always()
Original file line number Diff line number Diff line change 4242
4343 # LWC unit tests
4444 - name : ' LWC unit tests'
45- run : npm run test:unit: coverage
45+ run : npm run test:coverage
4646
4747 # Upload LWC code coverage data
4848 - name : ' Upload code coverage for LWC to Codecov.io'
You can’t perform that action at this time.
0 commit comments