Skip to content

Commit

Permalink
Merge pull request #2 from victorsoares96/ci/enable-pass-without-no-t…
Browse files Browse the repository at this point in the history
…ests

👷🏼 ci: enable pass without no tests
  • Loading branch information
victorsoares96 committed Apr 7, 2023
2 parents 8158ba9 + 74b7887 commit 5e84aca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
- name: Unit Testing
run: yarn test:coverage

- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
# token: ${{secrets.CODECOV_TOKEN}} # not required for public repos
directory: coverage
fail_ci_if_error: true
# - name: Upload Coverage
# uses: codecov/codecov-action@v3
# with:
# # token: ${{secrets.CODECOV_TOKEN}} # not required for public repos
# directory: coverage
# fail_ci_if_error: true

- name: Build
run: yarn build
Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineConfig({
test: {
globals: true,
logHeapUsage: true,
passWithNoTests: true,
testTimeout: 10000,
coverage: {
enabled: true,
Expand Down

0 comments on commit 5e84aca

Please sign in to comment.