Prathamesh Musale
ee092cd352
All checks were successful
Build / build (pull_request) Successful in 2m26s
Integration Tests / test-integration (pull_request) Successful in 2m59s
E2E Tests / test-e2e (pull_request) Successful in 3m57s
Lint / Run golangci-lint (pull_request) Successful in 4m57s
Unit Tests / test-unit (pull_request) Successful in 2m59s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m32s
SDK Tests / sdk_tests (pull_request) Successful in 9m30s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 14m10s
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: SDK Tests
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- release/**
|
|
|
|
jobs:
|
|
sdk_tests_auctions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Checkout registry-sdk
|
|
uses: actions/checkout@v3
|
|
with:
|
|
path: "./registry-sdk/"
|
|
repository: deep-stack/registry-sdk # Use cerc-io/registry-sdk
|
|
fetch-depth: 0
|
|
ref: main
|
|
- name: Environment
|
|
run: ls -tlh && env
|
|
|
|
- name: Build laconic2d container
|
|
working-directory: tests/sdk_tests
|
|
run: ./build-laconic2d-container.sh
|
|
|
|
- name: Build sdk container
|
|
working-directory: registry-sdk
|
|
run: ./scripts/build-sdk-test-container.sh
|
|
|
|
- name: Start containers (auctions enabled)
|
|
working-directory: tests/sdk_tests
|
|
env:
|
|
TEST_AUCTION_ENABLED: true
|
|
run: docker compose up -d
|
|
|
|
- name: Run auction tests
|
|
working-directory: tests/sdk_tests
|
|
run: ./run-tests.sh test:auctions
|