Skip to content

Commit

Permalink
fix(ci): pass with no test matches
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Jul 27, 2023
1 parent f36b352 commit e484144
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: test123
POSTGRES_PORT: 5432
run: pnpm test:integration --shard=${{ matrix.shard }}/${{ strategy.job-total }}
run: pnpm test:integration --shard=${{ matrix.shard }}/${{ strategy.job-total }} --passWithNoTests
- run: mv coverage/coverage-final.json coverage/${{matrix.shard}}.json
- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-publish-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: test123
POSTGRES_PORT: 5432
run: pnpm test:integration --shard=${{ matrix.shard }}/${{ strategy.job-total }}
run: pnpm test:integration --shard=${{ matrix.shard }}/${{ strategy.job-total }} --passWithNoTests
- run: mv coverage/coverage-final.json coverage/${{matrix.shard}}.json
- uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"@typescript-eslint/parser": "6.2.0",
"codecov": "3.8.3",
"cross-env": "7.0.3",
"cross-fetch": "4.0.0",
"eslint": "8.45.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-jest": "27.2.3",
Expand All @@ -54,8 +53,6 @@
"lerna": "7.1.4",
"lerna-changelog": "2.2.0",
"lint-staged": "13.2.3",
"oas-resolver": "2.5.6",
"openapi-types": "12.1.3",
"prettier": "3.0.0",
"rimraf": "5.0.1",
"semantic-release": "21.0.7",
Expand Down
62 changes: 0 additions & 62 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e484144

Please sign in to comment.