Skip to content

Commit

Permalink
Merge pull request #25 from ngrok/josh/fix-doc-tests
Browse files Browse the repository at this point in the history
add openssl to LD_LIBRARY_PATH for doc tests
  • Loading branch information
jrobsonchase authored Oct 14, 2024
2 parents 3f725b1 + 10165fd commit a10b926
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ jobs:
command: clippy
args: --all-targets --all-features --workspace -- -D warnings

test-docs:
name: Test Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jrobsonchase/[email protected]
- uses: ./.github/workflows/rust-cache
- uses: actions-rs/cargo@v1
env:
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
with:
command: test
args: --doc

test-nix:
name: Test Nix
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
inputs.fenix.overlays.default
];
};
lib = nixpkgs.lib;
toolchain = pkgs.fenix.complete.withComponents [
"cargo"
"clippy"
Expand Down Expand Up @@ -61,6 +62,7 @@
cargo-udeps
];
RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.openssl ];
};
}
);
Expand Down

0 comments on commit a10b926

Please sign in to comment.