Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Mar 26, 2024
1 parent ada48e8 commit b5ace6c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
ls -a
pwd
apt-get update
apt-get -y install python3-coverage python3-pip
apt-get -y install python3-coverage python3-pip
echo $GITHUB_WORKSPACE
cd src/cda-telematics/telematic_system/telematic_historical_data_processing/rosbag2_processing_service/docker
pwd
Expand All @@ -166,8 +166,9 @@ jobs:
ls /ws/
ls /ws/src
source install/setup.bash
cd $GITHUB_WORKSPACE/src/cda-telematics/telematic_system/telematic_historical_data_processing/rosbag2_processing_service/
python3 -m coverage -m pytest
cd $GITHUB_WORKSPACE/src/cda-telematics/telematic_system/telematic_historical_data_processing/rosbag2_processing_service
export PYTHONPATH=$PYTHONPATH:/usr/lib/python3/dist-packages
python3 -m coverage run -m pytest
python3 -m coverage xml --omit="/opt/*,/root/*,/tmp/*,/usr/*,/var/*,**/__init__.py"
- name: Find coverage.xml
shell: bash
Expand Down

0 comments on commit b5ace6c

Please sign in to comment.