Skip to content
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 SEP suite validation in 1.x actions #1093

Merged
merged 3 commits into from
Sep 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading