-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
remove gotestloghelper from core tests #15395
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
89e3d6c
try gotestloghelper with branch version
Tofel 5b829d3
fail core tests on purpose
Tofel 67b504f
use tee by default for processing output of core go tests, do not use…
Tofel 6a68e3a
rename log message, filter out no tests/test files from fuzz tests
Tofel 72300ef
remove on-purpose core test failure
Tofel f8e64b9
remove non-tee mode from running go core tests, simplify all conditions
Tofel af531f6
remove extra new line from test
Tofel c02c036
remove whitespaces
Tofel ae038da
fix relative path
Tofel 3ca262f
remove superfluous if
Tofel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -231,26 +231,14 @@ jobs: | |
echo "COUNT=50" >> $GITHUB_ENV | ||
echo "FUZZ_TIMEOUT_MINUTES=10">> $GITHUB_ENV | ||
|
||
- name: Install gotestloghelper | ||
if: ${{ needs.filter.outputs.should-run-ci-core == 'true' }} | ||
run: go install github.com/smartcontractkit/chainlink-testing-framework/tools/[email protected] | ||
|
||
- name: Run tests | ||
if: ${{ needs.filter.outputs.should-run-ci-core == 'true' }} | ||
id: run-tests | ||
env: | ||
OUTPUT_FILE: ./output.txt | ||
USE_TEE: false | ||
CL_DATABASE_URL: ${{ env.DB_URL }} | ||
run: ./tools/bin/${{ matrix.type.cmd }} ./... | ||
|
||
- name: Print Filtered Test Results | ||
if: ${{ failure() && needs.filter.outputs.should-run-ci-core == 'true' && steps.run-tests.conclusion == 'failure' }} | ||
run: | | ||
if [[ "${{ matrix.type.printResults }}" == "true" ]]; then | ||
cat output.txt | gotestloghelper -ci | ||
fi | ||
|
||
- name: Print Races | ||
id: print-races | ||
if: ${{ failure() && matrix.type.cmd == 'go_core_race_tests' && needs.filter.outputs.should-run-ci-core == 'true' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tofel marked this conversation as resolved.
Show resolved
Hide resolved
jmank88 marked this conversation as resolved.
Show resolved
Hide resolved
Tofel marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lines 10 and 12 are both identical:
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pathing has changed a bit, it used to be ‘../output.txt’ because this test cds into the deployment directory.
I think we need to keep it in the parent directory otherwise the artifact upload will not be able to find the output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, @erikburt!