diff --git a/.github/workflows/testing-docs.yml b/.github/workflows/testing-docs.yml index 6a823f43e6..2aff76376b 100644 --- a/.github/workflows/testing-docs.yml +++ b/.github/workflows/testing-docs.yml @@ -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 @@ -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 "github-actions@github.com" git add scripts/test_doc/test_documentation.md git commit -m "Update testing documentation" - + git push origin "$branch" exit 1 diff --git a/tests/integration/changeover.go b/tests/integration/changeover.go index fddbc343a9..b18ea38f4b 100644 --- a/tests/integration/changeover.go +++ b/tests/integration/changeover.go @@ -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()