Fix the CI pipeline to pull from AP v2 stable release #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Test | ||
on: [pull_request] | ||
jobs: | ||
test-ci: | ||
name: anchor platform test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Java Anchor SDK | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: stellar/java-stellar-anchor-sdk | ||
<<<<<<< Updated upstream | ||
- name: Build docker | ||
run: | ||
docker build --build-arg BASE_IMAGE=gradle:8.2.1-jdk17 -t | ||
anchor-platform:local ./ | ||
======= | ||
>>>>>>> Stashed changes | ||
- name: Run docker | ||
env: | ||
TEST_PROFILE_NAME: default | ||
run: | ||
docker compose -f docker-compose.yaml --profile v2-stable up -d | ||
- name: Wait for docker to be ready | ||
run: sleep 300 && curl http://localhost:8080/.well-known/stellar.toml | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 18 | ||
- run: yarn install | ||
- run: yarn test:anchorplatform:ci |