Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(integrations): add an integrations test harness for substreams modules #63

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
PROTOC: /usr/local/bin/protoc
steps:
- name: checkout repo
uses: actions/checkout@v2
Expand All @@ -18,9 +20,17 @@ jobs:
cache: enable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: request streaming fast authentication token
run: |
FIREHOSE_API_TOKEN=$(curl https://auth.dfuse.io/v1/auth/issue -s --data-binary '{"api_key":"${{secrets.STREAMING_FAST}}"}' | jq -r .token)
echo "SUBSTREAMS_API_TOKEN=$FIREHOSE_API_TOKEN" >> $GITHUB_ENV
- name: install buf
uses: bufbuild/buf-setup-action@v1.7.0
- name: install rust-toolchain
- name: install protoc
Ryanmtate marked this conversation as resolved.
Show resolved Hide resolved
uses: arduino/setup-protoc@v1
with:
version: '3.14.0'
- name: rust-toolchain
uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
Expand All @@ -40,9 +50,11 @@ jobs:
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
**/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: make erc20-price spkg
run: make -C erc20-price build && make erc20-price-spkg
- name: build all
run: make build-all
- name: Integrations
run: make integrations-linux
Loading