python -m runs module pytest as script - everything in path available
All checks were successful
Build on RHEL9 / build (push) Successful in 4m29s
Build on RHEL8 / build (push) Successful in 4m47s

This commit is contained in:
2025-11-27 11:13:04 +01:00
parent d21942d22d
commit 523224a8d5
2 changed files with 1 additions and 3 deletions

View File

@@ -42,8 +42,7 @@ jobs:
- name: Python unit tests with simulators
working-directory: ${{github.workspace}}/build/bin
#run: pytest -m withdetectorsimulators ${{github.workspace}}/python/tests --with-detector-simulators
run: python -m pytest ${{github.workspace}}/python/tests
run: python -m pytest -m withdetectorsimulators ${{github.workspace}}/python/tests --with-detector-simulators
- name: Simulator unit tests
working-directory: ${{github.workspace}}/build/bin

View File

@@ -1,4 +1,3 @@
import slsdet
from slsdet.bits import clearbit, clearbit_arr, setbit, setbit_arr
import numpy as np