2022-09-20 11:55:01 -07:00
|
|
|
name: Check Remote Executor
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2023-01-24 10:06:22 -08:00
|
|
|
paths: [governance/remote_executor/**]
|
2022-09-20 11:55:01 -07:00
|
|
|
push:
|
|
|
|
branches: [main]
|
2023-01-24 10:06:22 -08:00
|
|
|
paths: [governance/remote_executor/**]
|
2022-09-20 11:55:01 -07:00
|
|
|
jobs:
|
2022-11-25 09:02:24 -08:00
|
|
|
test:
|
2022-09-20 11:55:01 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
profile: minimal
|
|
|
|
toolchain: nightly
|
|
|
|
components: rustfmt, clippy
|
2022-09-22 11:50:48 -07:00
|
|
|
- name: Install Solana
|
|
|
|
run: |
|
|
|
|
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
|
|
|
|
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
|
|
|
|
- name: Run executor tests
|
2023-01-24 10:06:22 -08:00
|
|
|
run: cargo test-bpf --manifest-path ./governance/remote_executor/Cargo.toml
|