Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add license compliance job #8

Merged
merged 7 commits into from
Mar 19, 2024
Merged

Conversation

joseph-sentry
Copy link
Contributor

No description provided.

@codecov codecov deleted a comment from codecov bot Feb 27, 2024
@joseph-sentry joseph-sentry reopened this Mar 8, 2024
@codecov-staging
Copy link

codecov-staging bot commented Mar 8, 2024

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

❌ Failed Test Results:

Completed 12 tests with 12 failed, 0 passed and 0 skipped.

View the full list of failed tests
Test Description Failure message
Testsuite:
undefined
Test name:
adds 2 + 3 to equal 5:: adds 2 + 3 to equal 5
Envs:
- windows-latest
Error: expect(received).toBe(expected) // Object.is equality

Expected: 4
Received: 5
at Object.<anonymous> (.../demo/calculator/calculator.test.ts:5:26)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
adds 2 + 3 to equal 5:: adds 2 + 3 to equal 5
Envs:
- macos-latest
Error: expect(received).toBe(expected) // Object.is equality

Expected: 4
Received: 5
at Object.<anonymous> (.../demo/calculator/calculator.test.ts:5:26)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
adds 2 + 3 to equal 5:: adds 2 + 3 to equal 5
Envs:
- ubuntu-latest
Error: expect(received).toBe(expected) // Object.is equality

Expected: 4
Received: 5
at Object.<anonymous> (.../demo/calculator/calculator.test.ts:5:26)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
fully covered:: fully covered
Envs:
- windows-latest
Error: expect(received).toEqual(expected) // deep equality

Expected: false
Received: true
at Object.<anonymous> (.../demo/coverage-test/coverage.test.ts:10:39)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
fully covered:: fully covered
Envs:
- macos-latest
Error: expect(received).toEqual(expected) // deep equality

Expected: false
Received: true
at Object.<anonymous> (.../demo/coverage-test/coverage.test.ts:10:39)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
fully covered:: fully covered
Envs:
- ubuntu-latest
Error: expect(received).toEqual(expected) // deep equality

Expected: false
Received: true
at Object.<anonymous> (.../demo/coverage-test/coverage.test.ts:10:39)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
subtracts 2 - 3 to equal -1:: subtracts 2 - 3 to equal -1
Envs:
- ubuntu-latest
Error: expect(received).toBe(expected) // Object.is equality

Expected: 1
Received: -1
at Object.<anonymous> (.../demo/calculator/calculator.test.ts:10:31)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
subtracts 2 - 3 to equal -1:: subtracts 2 - 3 to equal -1
Envs:
- macos-latest
Error: expect(received).toBe(expected) // Object.is equality

Expected: 1
Received: -1
at Object.<anonymous> (.../demo/calculator/calculator.test.ts:10:31)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
subtracts 2 - 3 to equal -1:: subtracts 2 - 3 to equal -1
Envs:
- windows-latest
Error: expect(received).toBe(expected) // Object.is equality

Expected: 1
Received: -1
at Object.<anonymous> (.../demo/calculator/calculator.test.ts:10:31)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
test uncovered if:: test uncovered if
Envs:
- ubuntu-latest
Error: expect(received).toEqual(expected) // deep equality

Expected: true
Received: false
at Object.<anonymous> (.../demo/coverage-test/coverage.test.ts:5:38)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
test uncovered if:: test uncovered if
Envs:
- windows-latest
Error: expect(received).toEqual(expected) // deep equality

Expected: true
Received: false
at Object.<anonymous> (.../demo/coverage-test/coverage.test.ts:5:38)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)
Testsuite:
undefined
Test name:
test uncovered if:: test uncovered if
Envs:
- macos-latest
Error: expect(received).toEqual(expected) // deep equality

Expected: true
Received: false
at Object.<anonymous> (.../demo/coverage-test/coverage.test.ts:5:38)
at Promise.then.completed (.../jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (.../jest-circus/build/utils.js:231:10)
at _callCircusTest (.../jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (.../jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (.../jest-circus/build/run.js:126:9)
at run (.../jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (.../build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (.../build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (.../jest-runner/build/runTest.js:367:16)
at runTest (.../jest-runner/build/runTest.js:444:34)

Copy link
Contributor

@thomasrockhu-codecov thomasrockhu-codecov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nits

.github/workflows/codeql-analysis.yml Outdated Show resolved Hide resolved
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '24 6 * * 5'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is worth commenting how frequently this is in plaintext

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took this one from the actions on the previous action
now that I've converted it it's apparently every Friday at
6:24AM?

.github/workflows/codeql-analysis.yml Outdated Show resolved Hide resolved
.github/workflows/enforce-license-compliance.yml Outdated Show resolved Hide resolved
schedule:
- cron: '24 6 * * 5'
- cron: '24 6 * * 5' # Every Friday at 6:24AM
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lolol what a random time

@joseph-sentry joseph-sentry merged commit 2b4994e into main Mar 19, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants