Skip to content

Commit

Permalink
Updated testing-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kirdatatjana committed Sep 25, 2024
1 parent 642f338 commit af544fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/testing-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ jobs:
if: env.GIT_DIFF
id: check_changes_and_update
run: |
if ! git diff --exit-code HEAD:scripts/test_doc/test_documentation.md scripts/test_doc/test_documentation.md; then
git show HEAD:scripts/test_doc/test_documentation.md > committed_file.md
cp scripts/test_doc/test_documentation.md generated_file.md
if ! diff -q generated_file.md committed_file.md; then
echo "Documentation for integration tests is out of date. Updating and pushing changes..."
cp generated_file.md scripts/test_doc/test_documentation.md
if [ -n "$GITHUB_HEAD_REF" ]; then
branch=$GITHUB_HEAD_REF
else
Expand All @@ -54,13 +58,13 @@ jobs:
git fetch origin $branch
git checkout $branch
cp scripts/test_doc/test_documentation.md scripts/test_doc/test_documentation.md
cp generated_file.md scripts/test_doc/test_documentation.md
git config user.name "github-actions"
git config user.email "[email protected]"
git add scripts/test_doc/test_documentation.md
git commit -m "Update testing documentation"
git push origin "$branch"
exit 1
Expand Down
1 change: 0 additions & 1 deletion tests/integration/changeover.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
// * creates a transfer channel between the two chains
// * transitions the standalone chain to a consumer chain
// * confirms that no extra transfer channel is created, thus only one transfer channel and one CCV channel exist.
// testing
func (suite *CCVTestSuite) TestRecycleTransferChannel() {
consumerKeeper := suite.consumerApp.GetConsumerKeeper()

Expand Down

0 comments on commit af544fa

Please sign in to comment.