File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ pull_request :
4+ branches : [ main ]
5+
6+ jobs :
7+ test :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - name : Install modules
12+ run : npm install
13+ - name : Run lint
14+ run : npm run lint
15+ - name : Run tests
16+ run : npm run test
17+ - name : Report Coverage
18+ uses : romeovs/lcov-reporter-action@v0.2.11
19+ with :
20+ github-token : ${{ secrets.GITHUB_TOKEN }}
21+ lcov-file : ./coverage/lcov.info
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Test
22on :
33 push :
44 branches : [ main ]
5- pull_request :
6- branches : [ main ]
75
86jobs :
97 test :
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ import { Hello } from '../index';
22describe ( 'Simple expression tests' , ( ) => {
33 test ( 'Hello' , ( ) => {
44 expect ( Hello ( 'Carl' ) ) . toBe ( 'Hello Carl' ) ;
5- expect ( Hello ( ) ) . toBe ( 'Not Hello unknown person' ) ;
5+ expect ( Hello ( ) ) . toBe ( 'Hello unknown person' ) ;
66 } ) ;
77} ) ;
You can’t perform that action at this time.
0 commit comments