Skip to content

Commit

Permalink
feat: try on testing of utils
Browse files Browse the repository at this point in the history
  • Loading branch information
luzogue970 authored and oscar-guerin committed Nov 5, 2024
1 parent 34234bb commit a1bc980
Show file tree
Hide file tree
Showing 63 changed files with 16,621 additions and 11,037 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ngx-repository-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: npm ci

- name: Test
run: npm run test:ci
run: npm run testt:ci

- name: Archive coverage artifact
if: github.ref == 'refs/heads/master'
Expand All @@ -60,7 +60,7 @@ jobs:

coverall:
name: Coverall
needs: [test, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository]
needs: [testt, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository]
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
deploy-ngx-repository:
name: Deploy ngx-repository
runs-on: ubuntu-latest
needs: [ test, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
needs: [ testt, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
if: github.ref == 'refs/heads/master'
strategy:
matrix:
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
deploy-witty-ngx-repository:
name: Deploy witty ngx-repository
runs-on: ubuntu-latest
needs: [ test, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
needs: [ testt, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
if: github.ref == 'refs/heads/master'
strategy:
matrix:
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
deploy-ngx-http-repository:
name: Deploy ngx-http-repository
runs-on: ubuntu-latest
needs: [ test, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
needs: [ testt, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
if: github.ref == 'refs/heads/master'
strategy:
matrix:
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
deploy-witty-ngx-http-repository:
name: Deploy witty ngx-http-repository
runs-on: ubuntu-latest
needs: [ test, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
needs: [ testt, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
if: github.ref == 'refs/heads/master'
strategy:
matrix:
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
deploy-ngx-firestore-repository:
name: Deploy ngx-firestore-repository
runs-on: ubuntu-latest
needs: [ test, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
needs: [ testt, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
if: github.ref == 'refs/heads/master'
strategy:
matrix:
Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
deploy-witty-ngx-firestore-repository:
name: Deploy witty ngx-firestore-repository
runs-on: ubuntu-latest
needs: [ test, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
needs: [ testt, lint, build-ngx-repository, build-ngx-http-repository, build-ngx-firestore-repository ]
if: github.ref == 'refs/heads/master'
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ After dependency installation, you can run others commands :

````shell script
# Run the tests
npm run test
npm run testt

# Run the linter
npm run lint
Expand Down
2 changes: 2 additions & 0 deletions merge-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const inputFiles = [
path.join(__dirname, 'coverage/ngx-repository/lcov.info'),
path.join(__dirname, 'coverage/ngx-http-repository/lcov.info'),
path.join(__dirname, 'coverage/ngx-firestore-repository/lcov.info'),
path.join(__dirname, 'coverage/utils/lcov.info'),

];

// Path to save the merged LCOV file
Expand Down
Loading

0 comments on commit a1bc980

Please sign in to comment.