Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Fix broken link in readme #1636

Fix broken link in readme

Fix broken link in readme #1636

Workflow file for this run

name: SDK
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1
- name: golangci-lint
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018
with:
version: v1.45.2
working-directory: sdk
skip-go-installation: true
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1
- name: Build SDK
working-directory: sdk
run: go build ./...
- name: Build SDK Tests
working-directory: sdk
run: go test -exec=echo ./...
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1
- name: Run SDK Unit Tests
working-directory: sdk
run: go test -v -race ./...
integration-tests:
runs-on: ubuntu-latest
steps:
- name: "Stellar Quickstart: Run"
run: docker run -d -p 8000:8000 --name stellar stellar/quickstart --standalone --enable-core-artificially-accelerate-time-for-testing
- name: "Stellar Quickstart: Wait for Ready"
run: while ! [ "$(curl -s --fail localhost:8000 | jq '.history_latest_ledger')" -gt 0 ]; do echo waiting; sleep 1; done
- name: "Stellar Quickstart: Details"
run: curl localhost:8000
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1
- name: Run SDK Integration Tests
working-directory: sdk
run: go test -v -race -p=1 ./**/integrationtests
env:
INTEGRATION_TESTS: 1
INTEGRATION_TESTS_HORIZON_URL: http://localhost:8000