Skip to content

Bump the all-actions group across 1 directory with 4 updates #5029

Bump the all-actions group across 1 directory with 4 updates

Bump the all-actions group across 1 directory with 4 updates #5029

Workflow file for this run

---
name: RPC Tests
on:
push:
branches: [main, release/**]
pull_request:
concurrency:
group:
${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha ||
github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
sys:
# x64
- ubuntu-latest-8-cores
# ARM
- ubuntu-jammy-8-cores-arm64
# Apple Intel (this runner has better support to nested virtualization)
- macos-15-large
exclude:
# Only run Linux x64 on non-release PRs to save CI minutes
- sys: ${{ github.event_name != 'push' && !startsWith(github.ref_name, 'release/') && 'ubuntu-jammy-8-cores-arm64' }}
- sys: ${{ github.event_name != 'push' && !startsWith(github.ref_name, 'release/') && 'macos-15-large' }}
runs-on: ${{ matrix.sys }}
env:
TEST_THREADS: ${{ contains(matrix.sys, 'macos') && '2' || '4' }} # macOS has limited resources
steps:
- uses: stellar/quickstart@main
with:
tag: future
- uses: actions/checkout@v6
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run:
sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev
gnome-keyring
if: runner.os == 'Linux'
- name: Start gnome-keyring
if: runner.os == 'Linux'
# run gnome-keyring with 'foobar' as password for the login keyring
# this will create a new login keyring and unlock it
# the login password doesn't matter, but the keyring must be unlocked for the tests to work
# this is based on the ci workflow in the keyring crate repo
run:
gnome-keyring-daemon --components=secrets --daemonize --unlock <<< 'foobar'
- run: cargo build --features additional-libs
- run: rustup target add wasm32v1-none
- run: make build-test-wasms
- run:
RUST_BACKTRACE=1 cargo test --features it --package soroban-test --test it --
integration --test-threads=$TEST_THREADS