Skip to content

Update Rust unit test with new location (#311) #1086

Update Rust unit test with new location (#311)

Update Rust unit test with new location (#311) #1086

Workflow file for this run

name: unit-tests
on:
push:
branches:
- main
pull_request:
jobs:
go_test:
name: Go Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Test
run: make tests-unit
rust_test:
name: Rust Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
rust:
- 'indexer/**'
- 'offchain/**'
- uses: actions-rust-lang/setup-rust-toolchain@v1
if: steps.filter.outputs.rust == 'true'
- run: cargo test --all-features