Remove test step from the pipeline as dist target seems to run tests already

This commit is contained in:
2025-10-16 21:23:33 +02:00
parent 1a68502401
commit 1144fb9803
2 changed files with 8 additions and 9 deletions

View File

@@ -40,8 +40,6 @@ jobs:
run: meson setup builddir -Db_coverage=true run: meson setup builddir -Db_coverage=true
- name: build and test dist package - name: build and test dist package
run: ninja -C builddir dist run: ninja -C builddir dist
- name: run unit tests
run: ninja -C builddir test
- name: calculate coverage - name: calculate coverage
run: ninja -C builddir coverage-text run: ninja -C builddir coverage-text
- name: Coverage report - name: Coverage report

View File

@@ -1,11 +1,11 @@
project( project(
'ptprnt', 'ptprnt',
'cpp', 'cpp',
version: 'v0.1.0-' + run_command( version: 'v0.1.0-'
+ run_command(
'git', 'git',
'rev-parse', 'rev-parse',
'--short', '--short', 'HEAD',
'HEAD',
check: true, check: true,
).stdout().strip(), ).stdout().strip(),
license: 'GPLv3', license: 'GPLv3',
@@ -41,7 +41,9 @@ cpp_args = ['-DPROJ_VERSION="' + meson.project_version() + '"']
# USB trace mode option (for debugging without sending to hardware) # USB trace mode option (for debugging without sending to hardware)
if get_option('usb_trace_only') if get_option('usb_trace_only')
cpp_args += ['-DUSB_TRACE_ONLY'] cpp_args += ['-DUSB_TRACE_ONLY']
message('USB_TRACE_ONLY enabled: USB data will be logged but not sent to device') message(
'USB_TRACE_ONLY enabled: USB data will be logged but not sent to device',
)
endif endif
ptprnt_exe = executable( ptprnt_exe = executable(
@@ -54,7 +56,6 @@ ptprnt_exe = executable(
cpp_args: cpp_args, cpp_args: cpp_args,
) )
### Unit tests ### Unit tests
# GTest and GMock # GTest and GMock