Revert "CI: codecov for multiprocessing" (#30431)

Revert "CI: codecov for multiprocessing (#30428)"

This reverts commit 3b07eefe35677ba9cd35680864b88d5eacd3a25e.
old-commit-hash: 863fdec50e
testing-closet
Justin Newberry 1 year ago committed by GitHub
parent 81e3076dc6
commit 0a901ebe02
  1. 2
      .github/workflows/selfdrive_tests.yaml
  2. 3
      pyproject.toml
  3. 2
      selfdrive/athena/tests/test_athenad.py

@ -213,7 +213,6 @@ jobs:
run: | run: |
${{ env.RUN }} "CI=1 coverage run selfdrive/test/process_replay/test_processes.py -j$(nproc) && \ ${{ env.RUN }} "CI=1 coverage run selfdrive/test/process_replay/test_processes.py -j$(nproc) && \
chmod -R 777 /tmp/comma_download_cache && \ chmod -R 777 /tmp/comma_download_cache && \
coverage combine && \
coverage xml" coverage xml"
- name: Print diff - name: Print diff
id: print-diff id: print-diff
@ -283,7 +282,6 @@ jobs:
run: | run: |
${{ env.RUN_CL }} "unset PYTHONWARNINGS && \ ${{ env.RUN_CL }} "unset PYTHONWARNINGS && \
ONNXCPU=1 CI=1 NO_NAV=1 coverage run selfdrive/test/process_replay/model_replay.py && \ ONNXCPU=1 CI=1 NO_NAV=1 coverage run selfdrive/test/process_replay/model_replay.py && \
coverage combine && \
coverage xml" coverage xml"
- name: Run unit tests - name: Run unit tests
timeout-minutes: 4 timeout-minutes: 4

@ -199,6 +199,3 @@ flake8-implicit-str-concat.allow-multiline=false
"system".msg = "Use openpilot.system" "system".msg = "Use openpilot.system"
"third_party".msg = "Use openpilot.third_party" "third_party".msg = "Use openpilot.third_party"
"tools".msg = "Use openpilot.tools" "tools".msg = "Use openpilot.tools"
[tool.coverage.run]
concurrency = ["multiprocessing", "thread"]

@ -87,7 +87,7 @@ class TestAthenadMethods(unittest.TestCase):
p = Process(target=send_deviceState) p = Process(target=send_deviceState)
p.start() p.start()
time.sleep(0.2) time.sleep(0.1)
try: try:
deviceState = dispatcher["getMessage"]("deviceState") deviceState = dispatcher["getMessage"]("deviceState")
assert deviceState['deviceState'] assert deviceState['deviceState']

Loading…
Cancel
Save