Skip to content

Commit

Permalink
use published action
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Haas committed Jun 12, 2024
1 parent cea4c68 commit 5217f70
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions .github/workflows/automated-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: automated-testing
on: push
jobs:
generate-scenario-job-matrix:
runs-on: self-hosted
runs-on: [self-hosted]
outputs:
matrix: ${{ steps.generate.outputs.matrix }}
name: generate scenario job matrix
Expand All @@ -17,24 +17,27 @@ jobs:

evaluate-required-scenarios:
needs: generate-scenario-job-matrix
runs-on: self-hosted
runs-on: [self-hosted]
name: Run ${{ matrix.filename }}
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-scenario-job-matrix.outputs.matrix) }}
name: Eval ${{ matrix.filename }}
steps:
- run: rm -rf *
- uses: actions/checkout@v4
- uses: ./.github/actions/evaluate-scenario
- shell: bash
run: |
xhost +local:
- uses: ika-rwth-aachen/carlos-ci-action
with:
composefile-path: automated-testing/carla-sim.yml
scenario-folder-path: ${{ matrix.filedir }}
scenario-file-name: ${{ matrix.filename }}
simulator-image: rwthika/carla-simulator:server
simulator-offscreen: true
- shell: bash
run: |
xhost -local:
generate-opt-scenario-job-matrix:
needs: evaluate-required-scenarios
runs-on: self-hosted
runs-on: [self-hosted]
outputs:
opt-matrix: ${{ steps.generate-opt.outputs.matrix }}
name: generate optional scenario job matrix
Expand All @@ -49,18 +52,21 @@ jobs:

evaluate-optional-scenarios:
needs: generate-opt-scenario-job-matrix
runs-on: self-hosted
runs-on: [self-hosted]
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-opt-scenario-job-matrix.outputs.opt-matrix) }}
name: Eval ${{ matrix.filename }}
name: Run ${{ matrix.filename }}
steps:
- run: rm -rf *
- uses: actions/checkout@v4
- uses: ./.github/actions/evaluate-scenario
- shell: bash
run: |
xhost +local:
- uses: ika-rwth-aachen/carlos-ci-action
continue-on-error: true
with:
composefile-path: automated-testing/carla-sim.yml
scenario-folder-path: ${{ matrix.filedir }}
scenario-file-name: ${{ matrix.filename }}
simulator-image: rwthika/carla-simulator:server
simulator-offscreen: true
- shell: bash
run: |
xhost -local:

0 comments on commit 5217f70

Please sign in to comment.