Skip to content

Commit

Permalink
test in run
Browse files Browse the repository at this point in the history
  • Loading branch information
ggari-robotnik committed Sep 3, 2024
1 parent 3e37b63 commit cc59618
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ jobs:
yq e '.images.version = env(VERSION)' -i setup-container.yaml
yq e '.images.sites.local = "robotnik"' -i setup-container.yaml
setup-container/scripts/setup.sh
# - name: Build container image
- name: run ROS workspace tests
- name: Build container image
# - name: run ROS workspace tests
if: steps.check_changes.outputs.has_changes == 'true'
run: |
cd container/test
docker compose build
# - name: Run ROS workspace tests
# if: steps.check_changes.outputs.has_changes == 'true'
# run: |
# cd container/test
# docker compose up --exit-code-from container
- name: Run ROS workspace tests
if: steps.check_changes.outputs.has_changes == 'true'
run: |
cd container/test
docker compose up --exit-code-from container
2 changes: 0 additions & 2 deletions setup-container/templates/_dockerfile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ FROM builder-base as test

RUN compile_workspace.sh

RUN test_workspace.sh

FROM builder-base as builder

RUN generate_debs.sh
Expand Down

0 comments on commit cc59618

Please sign in to comment.