Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/__snapshots__/main.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`code-pushup action pull request event should compare reports 1`] = `
"# Code PushUp

🥳 Code PushUp report has **improved** – compared target commit \`<commit-sha>\` with source commit \`<commit-sha>\`.
🥳 Code PushUp report has **improved** – compared current commit \`<commit-sha>\` with previous commit \`<commit-sha>\`.

<details>
<summary>👍 <strong>1</strong> audit improved</summary>
Expand Down
3 changes: 3 additions & 0 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { ArtifactClient } from '@actions/artifact'
import core from '@actions/core'
import github from '@actions/github'
import { jest } from '@jest/globals'
import type { Report } from '@code-pushup/models'
import type { components } from '@octokit/openapi-types'
import type { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods'
import {
Expand Down Expand Up @@ -113,6 +114,8 @@ describe('code-pushup action', () => {
await git.init()
await git.addConfig('user.name', 'John Doe')
await git.addConfig('user.email', 'john.doe@example.com')
await git.addConfig('commit.gpgSign', 'false')
await git.addConfig('tag.gpgSign', 'false')
await git.branch(['-M', 'main'])

await git.add('index.js')
Expand Down
Loading
Loading