fix: add test that verifies that codex-exec-mcp-server starts up

This commit is contained in:
Michael Bolin
2025-12-06 19:36:15 -08:00
parent 82090803d9
commit c40509d488
14 changed files with 520 additions and 3 deletions

View File

@@ -369,6 +369,36 @@ jobs:
steps:
- uses: actions/checkout@v6
# Ensure brew includes this fix so it loads cleanly in the Codex sandbox.
# https://github.com/Homebrew/brew/pull/21157
- name: Upgrade brew
if: ${{ startsWith(matrix.runner, 'macos') }}
shell: bash
run: |
set -euo pipefail
brew --version
git -C "$(brew --repo)" fetch origin
git -C "$(brew --repo)" checkout main
git -C "$(brew --repo)" reset --hard origin/main
export HOMEBREW_UPDATE_TO_TAG=0
brew update
brew upgrade
brew --version
# Some integration tests rely on DotSlash being installed.
# See https://github.com/openai/codex/pull/7617.
- name: Install DotSlash
uses: facebook/install-dotslash@v2
- name: Pre-fetch DotSlash artifacts
# The Bash wrapper is not available on Windows.
if: ${{ !startsWith(matrix.runner, 'windows') }}
shell: bash
run: |
set -euo pipefail
dotslash -- fetch exec-server/tests/suite/bash
- uses: dtolnay/rust-toolchain@1.90
with:
targets: ${{ matrix.target }}