Query logs with tc-cli #912
Workflow file for this run
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
# Triggered via !ci-test-basic tag | |
name: Check basic integration | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, reopened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-basic: | |
runs-on: [self-hosted, integration] | |
#if: ${{ contains(github.event.pull_request.labels.*.name,'!ci-test-basic') }} | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Configure sccache env for Rust | |
run: | | |
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | |
- name: Run sccache-cache | |
uses: mozilla-actions/[email protected] | |
- name: Build dev containers | |
run: | | |
./scripts/build_docker.sh | |
- name: Setup containers | |
run: | | |
docker compose up -d | |
- name: fetch prices | |
run: | | |
docker compose run --rm --remove-orphans tc-cli fetch-token-price-data | |
- name: Smoke test | |
run: | | |
docker compose run --rm --remove-orphans tc-cli smoke-test 0 1 | |
- name: Cleanup | |
if: ${{ always() }} | |
run: | | |
docker compose --profile "*" down |