Skip to content

Commit

Permalink
Enable simple tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Apr 23, 2024
1 parent 711ede1 commit 50b2e81
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
uses: ./.github/workflows/reusable-test.yml
with:
name: netebpf_ext_unit_tests
pre_test: appverif -enable Exceptions Handles Heaps Leak Locks Memory SRWLock Threadpool TLS DangerousAPIs DirtyStacks TimeRollOver -for unit_tests.exe
test_command: .\ntosebpfext_unit.exe -d yes
build_artifact: Build-x64
environment: windows-2022
Expand Down Expand Up @@ -100,20 +99,20 @@ jobs:
build_artifact: Build-x64-Sanitize
build_options: /p:AddressSanitizer='True'

# Run the low memory simulator for ntosebpfext_unit tests.
fault_injection_ntosebpfext_unit:
needs: regular
if: github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/reusable-test.yml
with:
name: ntosebpfext_fault_injection
test_command: .\ntosebpfext_unit.exe
build_artifact: Build-x64
environment: windows-2022
code_coverage: true
gather_dumps: true
fault_injection: true
leak_detection: true
# # Run the low memory simulator for ntosebpfext_unit tests.
# fault_injection_ntosebpfext_unit:
# needs: regular
# if: github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch'
# uses: ./.github/workflows/reusable-test.yml
# with:
# name: ntosebpfext_fault_injection
# test_command: .\ntosebpfext_unit.exe
# build_artifact: Build-x64
# environment: windows-2022
# code_coverage: true
# gather_dumps: true
# fault_injection: true
# leak_detection: true

# Additional jobs to run on a schedule only (skip push and pull request).
# ---------------------------------------------------------------------------
Expand Down

0 comments on commit 50b2e81

Please sign in to comment.