Skip to content

Commit

Permalink
fix: add dependency installation to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PThorpe92 committed Jan 1, 2024
1 parent cf35081 commit 0ced54f
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ name: testing
on:
push:
branches:
- 'main'
- "main"
paths:
- 'src/**/*'
- 'tests/**/*'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '.github/workflows/testing.yml'
- "src/**/*"
- "tests/**/*"
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/workflows/testing.yml"
pull_request:
branches:
- 'main'
- "main"
paths:
- 'src/**/*'
- 'tests/**/*'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '.github/workflows/testing.yml'
- "src/**/*"
- "tests/**/*"
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/workflows/testing.yml"

env:
CARGO_TERM_COLOR: always
Expand All @@ -36,6 +36,7 @@ jobs:
NSS_WRAPPER_PASSWD: tests/fixtures/passwd
NSS_WRAPPER_GROUP: tests/fixtures/group
run: |
sudo apt update && sudo apt install -y libnss-wrapper
cargo test
LD_PRELOAD=libnss_wrapper.so cargo test --features test-integration mocked_
LD_PRELOAD=libnss_wrapper.so cargo test --features test-integration --test '*'
Expand Down

0 comments on commit 0ced54f

Please sign in to comment.