Optimize iteration with series #689
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
matrix: | |
name: Determine modified packages | |
runs-on: ubuntu-latest | |
outputs: | |
packages: ${{ steps.modified-packages.outputs.packages }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 300 | |
- name: Commit Range | |
id: commit-range | |
uses: tue-robotics/tue-env/ci/commit-range@master | |
- name: Modified packages | |
id: modified-packages | |
uses: tue-robotics/tue-env/ci/modified-packages@master | |
with: | |
commit-range: ${{ steps.commit-range.outputs.commit-range }} | |
ignored-packages: image_recognition image_recognition_jetson image_recognition_skybiometry | |
tue-ci: | |
name: TUe CI - ${{ matrix.package }} | |
runs-on: ubuntu-latest | |
needs: matrix | |
strategy: | |
fail-fast: false | |
matrix: | |
package: ${{ fromJson(needs.matrix.outputs.packages) }} | |
steps: | |
- name: TUe CI | |
uses: tue-robotics/tue-env/ci/main@master | |
with: | |
package: ${{ matrix.package }} |