Skip to content

Merge pull request #2962 from pyth-network/fix/db-config #445

Merge pull request #2962 from pyth-network/fix/db-config

Merge pull request #2962 from pyth-network/fix/db-config #445

name: Check Pythnet SDK
on:
pull_request:
paths:
- .github/workflows/ci-pythnet-sdk.yml
- pythnet/pythnet_sdk/**
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pythnet/pythnet_sdk
steps:
- uses: actions/checkout@v2
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Format check
run: cargo fmt --all -- --check
if: success() || failure()
- name: Clippy check
run: cargo clippy -p pythnet-sdk --all-targets -- --deny warnings
if: success() || failure()
- name: Run executor tests
run: cargo test -p pythnet-sdk
if: success() || failure()