Skip to content

Merge branch 'main' into setup-monorepo #3063

Merge branch 'main' into setup-monorepo

Merge branch 'main' into setup-monorepo #3063

Workflow file for this run

name: Subgraph unit tests
on: [push]
concurrency:
group: ${{ github.ref }}-subgraph
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build subgraph
run: nix develop -c subgraph-build
- name: Matchstick tests
run: nix develop -c subgraph-test