Skip to content

pindexer: flesh out dex-explorer indexer #9617

pindexer: flesh out dex-explorer indexer

pindexer: flesh out dex-explorer indexer #9617

Workflow file for this run

name: Smoke Test
on:
pull_request:
# Don't run Rust tests if only docs changed.
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
smoke_test:
runs-on: buildjet-16vcpu-ubuntu-2204
environment: smoke-test
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Load rust cache
uses: astriaorg/[email protected]
- name: Install cometbft binary
run: ./deployments/scripts/install-cometbft
- name: Install process-compose
run: >-
sh -c "$(curl --location https://raw.githubusercontent.com/F1bonacc1/process-compose/main/scripts/get-pc.sh)" --
-d -b ~/bin
- name: Install grpcurl
run: ./deployments/scripts/install-grpcurl
- name: Run the smoke test suite
run: |
export PATH="$HOME/bin:$PATH"
./deployments/scripts/smoke-test.sh
- name: Display smoke-test logs
if: always()
run: cat deployments/logs/smoke-*.log
pmonitor-integration:
runs-on: buildjet-16vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: install nix
uses: nixbuild/nix-quick-install-action@v28
- name: setup nix cache
uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
backend: buildjet
- name: Load rust cache
uses: astriaorg/[email protected]
# Confirm that the nix devshell is buildable and runs at all.
- name: validate nix env
run: nix develop --command echo hello
- name: run the pmonitor integration tests
run: nix develop --command just test-pmonitor