Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Sep 18, 2024
1 parent d2d5da3 commit c7aa0b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
run: cp test/config.json.github-ci-macos test/config.json

- name: Build C++ tests
run: bundle exec drake -j4 buildout/cxx/main buildout/support-binaries/PassengerAgent
run: bundle exec drake -j4 test:cxx:build

- name: Run C++ tests
run: bundle exec drake -j4 test:cxx
run: bundle exec drake test:cxx
env:
SUDO: '1'
SCCACHE_AZURE_CONNECTION_STRING: ${{ secrets.AZURE_CI_STORAGE_CONNECTION_STRING }}
Expand Down
6 changes: 4 additions & 2 deletions build/cxx_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,16 @@
)
end

dependencies = [
cxx_test_dependencies = [
TEST_CXX_TARGET,
"#{TEST_OUTPUT_DIR}allocate_memory",
NATIVE_SUPPORT_TARGET,
AGENT_TARGET
].compact
task 'test:cxx:build' => cxx_test_dependencies

desc "Run unit tests for the C++ components"
task 'test:cxx' => dependencies do
task 'test:cxx' => cxx_test_dependencies do
args = ENV['GROUPS'].to_s.split(";").map{ |name| "-g #{name}" }

if level = string_option('LOG_LEVEL')
Expand Down

0 comments on commit c7aa0b9

Please sign in to comment.