Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ jobs:
- name: Test workspace
run: cargo test --workspace --locked

- name: Test the Patchy capability with a mod DLL
shell: pwsh
run: |
cargo build -p patchy-test-mod --locked
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$env:PATCHY_TEST_MOD = Join-Path $env:GITHUB_WORKSPACE 'target\x86_64-pc-windows-msvc\debug\patchy_test_mod.dll'
cargo test -p highfleet-loader --lib --locked -- --ignored --exact loader::tests::unknown_build_still_initializes_a_patchy_mod_that_declines_the_version | Tee-Object -Variable output
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
# libtest succeeds when a filter selects nothing, so require the run.
if (-not ($output -match '^test result: ok\. 1 passed')) {
Write-Error 'The Patchy DLL test did not run'
exit 1
}

- name: Check workspace
run: cargo check --workspace --locked

Expand Down
Loading