From d6d7b973b3b69228b866080597e9a475e5a3fad7 Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Fri, 25 Oct 2024 21:09:20 +0200 Subject: [PATCH] Add tests for OSX and x86 --- .github/workflows/ci.yml | 5 +++++ src/channel.jl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d90808..4960ce2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,8 +30,13 @@ jobs: - 'nightly' os: - ubuntu-latest + - macOS-latest arch: - x64 + - x86 + exclude: + - os: macOS-latest + arch: x86 include: - version: '1.9' allow_failure: false diff --git a/src/channel.jl b/src/channel.jl index 31880bc..e8b5344 100644 --- a/src/channel.jl +++ b/src/channel.jl @@ -361,7 +361,7 @@ $(TYPEDSIGNATURES) Sends an exit status in reponse to an exec request. Wrapper around [`lib.ssh_channel_request_send_exit_status()`](@ref). """ -function channel_request_send_exit_status(sshchan::SshChannel, status::Int) +function channel_request_send_exit_status(sshchan::SshChannel, status::Integer) if !isopen(sshchan) throw(ArgumentError("SshChannel has been closed, cannot send exit status")) end