diff --git a/.github/workflows/build-arm32v7.yml b/.github/workflows/build-arm32v7.yml index 77944ff..2de0167 100644 --- a/.github/workflows/build-arm32v7.yml +++ b/.github/workflows/build-arm32v7.yml @@ -21,6 +21,7 @@ jobs: unit-tests: runs-on: [self-hosted, Linux, ARM] + needs: [build] steps: - uses: actions/checkout@v4 - name: Run pytest in Docker container @@ -30,6 +31,7 @@ jobs: integration-tests: runs-on: [self-hosted, Linux, ARM] + needs: [unit-tests] steps: - uses: actions/checkout@v4 - name: Start roslaunch in Docker container @@ -39,8 +41,10 @@ jobs: release: runs-on: [self-hosted, Linux, X64] + needs: [integration-tests] steps: - uses: actions/checkout@v4 - name: Push to Docker Hub + working-directory: ./PiCar-X run: | TAG=latest-arm32v7 docker compose -f docker-compose-dtp-no-gazebo.yml push \ No newline at end of file diff --git a/.github/workflows/build-arm64v8.yml b/.github/workflows/build-arm64v8.yml index b7d8099..6f4b42d 100644 --- a/.github/workflows/build-arm64v8.yml +++ b/.github/workflows/build-arm64v8.yml @@ -20,6 +20,7 @@ jobs: unit-tests: runs-on: [self-hosted, Linux, ARM64] + needs: [build] steps: - uses: actions/checkout@v4 - name: Run pytest in Docker container @@ -29,6 +30,7 @@ jobs: integration-tests: runs-on: [self-hosted, Linux, ARM64] + needs: [unit-tests] steps: - uses: actions/checkout@v4 - name: Start roslaunch in Docker container @@ -38,8 +40,10 @@ jobs: release: runs-on: [self-hosted, Linux, X64] + needs: [integration-tests] steps: - uses: actions/checkout@v4 - name: Push to Docker Hub + working-directory: ./PiCar-X run: | TAG=latest-arm64v8 docker compose -f docker-compose-dtp-no-gazebo.yml push \ No newline at end of file diff --git a/.github/workflows/build-x64.yml b/.github/workflows/build-x64.yml index 536ce8a..49c9384 100644 --- a/.github/workflows/build-x64.yml +++ b/.github/workflows/build-x64.yml @@ -21,6 +21,7 @@ jobs: unit-tests: runs-on: [self-hosted, Linux, X64] + needs: [build] steps: - uses: actions/checkout@v4 - name: Run pytest in Docker container @@ -30,6 +31,7 @@ jobs: integration-tests: runs-on: [self-hosted, Linux, X64] + needs: [unit-tests] steps: - uses: actions/checkout@v4 - name: Start roslaunch in Docker container @@ -39,6 +41,7 @@ jobs: release: runs-on: [self-hosted, Linux, X64] + needs: [integration-tests] steps: - uses: actions/checkout@v4 - name: Push to Docker Hub