Skip to content

Commit

Permalink
remove SEP suite validation in 1.x actions (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeUrban authored Sep 6, 2023
1 parent 8956c9f commit c6faae4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 anchor test suite pass against this branch locally
</details>

### What
Expand Down
37 changes: 1 addition & 36 deletions .github/workflows/basic_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit c6faae4

Please sign in to comment.