is jenkins on my branch?

pull/30443/head
Shane Smiskol 2 years ago
parent cbdcc05502
commit fcd8b2b3ec
  1. 12
      .github/workflows/selfdrive_tests.yaml
  2. 1
      selfdrive/car/tests/test_models.py

@ -7,9 +7,9 @@ on:
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
concurrency: #concurrency:
group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }} # group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }}
cancel-in-progress: true # cancel-in-progress: true
env: env:
PYTHONWARNINGS: error PYTHONWARNINGS: error
@ -73,7 +73,7 @@ jobs:
matrix: matrix:
arch: ${{ fromJson( arch: ${{ fromJson(
((github.repository == 'commaai/openpilot') && ((github.repository == 'commaai/openpilot') &&
((github.event_name != 'pull_request') || ((github.event_name != 'pull_request') ||
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }}
runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }} runs-on: ${{ (matrix.arch == 'aarch64') && 'buildjet-2vcpu-ubuntu-2204-arm' || 'ubuntu-20.04' }}
steps: steps:
@ -189,7 +189,7 @@ jobs:
process_replay: process_replay:
name: process replay name: process replay
runs-on: ${{ ((github.repository == 'commaai/openpilot') && runs-on: ${{ ((github.repository == 'commaai/openpilot') &&
((github.event_name != 'pull_request') || ((github.event_name != 'pull_request') ||
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'buildjet-8vcpu-ubuntu-2004' || 'ubuntu-20.04' }} (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'buildjet-8vcpu-ubuntu-2004' || 'ubuntu-20.04' }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -226,7 +226,7 @@ jobs:
regen: regen:
name: regen name: regen
runs-on: 'ubuntu-20.04' runs-on: 'ubuntu-20.04'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true

@ -319,6 +319,7 @@ class TestCarModelBase(unittest.TestCase):
@given(data=st.data()) @given(data=st.data())
@seed(1) # for reproduction @seed(1) # for reproduction
def test_panda_safety_carstate_fuzzy(self, data): def test_panda_safety_carstate_fuzzy(self, data):
raise Exception
if self.CP.enableGasInterceptor: # TODO known failure for now if self.CP.enableGasInterceptor: # TODO known failure for now
raise unittest.SkipTest raise unittest.SkipTest
""" """

Loading…
Cancel
Save