From 922b223657aac22d0bd40c2cad99be4b34394c87 Mon Sep 17 00:00:00 2001 From: Jake Urban Date: Wed, 6 Sep 2023 09:55:30 -0700 Subject: [PATCH 1/3] remove SEP suite validation in 1.x actions --- .github/workflows/basic_tests.yml | 37 +------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/.github/workflows/basic_tests.yml b/.github/workflows/basic_tests.yml index e7c3ed9724..95541d5148 100644 --- a/.github/workflows/basic_tests.yml +++ b/.github/workflows/basic_tests.yml @@ -38,44 +38,9 @@ jobs: echo "\n\n*** Anchor reference server test report ***\n" cat /home/runner/work/java-stellar-anchor-sdk/java-stellar-anchor-sdk/anchor-reference-server/build/reports/tests/test/index.html - sep_validation_suite: - needs: [build_and_test] - runs-on: ubuntu-latest - name: Validate SEPs (1, 10, 12, 31, 38) - env: - PR_NUMBER: ${{github.event.pull_request.number}} - steps: - - uses: actions/checkout@v3 - - # Find the server endpoint home domain to run the SEP tests. - - name: Find Home Domain (Preview or Dev) - id: endpoint-finder - run: | - echo ${{github.event.pull_request.number}} - echo $PR_NUMBER - export HOME_DOMAIN=https://anchor-sep-server-dev.stellar.org - if [ ! -z "$PR_NUMBER" ] - then - export HOME_DOMAIN=https://anchor-sep-pr$PR_NUMBER.previews.kube001.services.stellar-ops.com - fi - echo HOME_DOMAIN=$HOME_DOMAIN - echo "::set-output name=HOME_DOMAIN::$HOME_DOMAIN" - - - name: Install Node - uses: actions/setup-node@v2 - with: - node-version: 14 - - - name: Run Validation Tool - env: - HOME_DOMAIN: ${{ steps.endpoint-finder.outputs.HOME_DOMAIN }} - run: | - npm install -g @stellar/anchor-tests - stellar-anchor-tests --home-domain $HOME_DOMAIN --seps 1 10 12 31 38 --sep-config platform/src/test/resources/stellar-anchor-tests-sep-config.json - complete: if: always() - needs: [build_and_test, sep_validation_suite] + needs: [build_and_test] runs-on: ubuntu-latest steps: - if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') From 8dd09e0c7546ac985ba60a317934ab23194ba85d Mon Sep 17 00:00:00 2001 From: Jake Urban Date: Wed, 6 Sep 2023 14:15:35 -0700 Subject: [PATCH 2/3] update PR template with check for running the SEP suite locally --- .github/pull_request_template.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 78b7190b5a..7de20c1e1a 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -17,6 +17,7 @@ change is, and why it is being made, with enough context for anyone to understan ### Thoroughness * [ ] This PR adds tests for the most critical parts of the new functionality or fixes. +* [ ] All tests from the SEP test suite against this branch locally ### What From fbf31753e4c967b404cccd6902a5a26da06f71ae Mon Sep 17 00:00:00 2001 From: Jake Urban Date: Wed, 6 Sep 2023 14:16:56 -0700 Subject: [PATCH 3/3] update wording of check in PR template --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 7de20c1e1a..83f9ce4659 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -17,7 +17,7 @@ change is, and why it is being made, with enough context for anyone to understan ### Thoroughness * [ ] This PR adds tests for the most critical parts of the new functionality or fixes. -* [ ] All tests from the SEP test suite against this branch locally +* [ ] All tests from the anchor test suite pass against this branch locally ### What