From e5304d09b866c0fbc220b8772563e7429aac1f99 Mon Sep 17 00:00:00 2001 From: Mohamed Fazil Date: Tue, 20 Aug 2024 20:47:43 -0700 Subject: [PATCH] WIP workflow --- .github/workflows/build_test.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index 8bdbf8df..f91fc27d 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -8,18 +8,11 @@ jobs: runs-on: self-hosted container: image: hellorobotinc/stretch-install-image:0.0.1 - options: --user hello-robot + options: --user root volumes: - /dev:/dev steps: - # The "cleanup old checkout" step is needed because of this bug: https://github.com/actions/checkout/issues/1014 - - name: cleanup old checkout - run: | - echo "Current directory is $(pwd)" - echo "Present files are $(ls)" - echo "Github workspace is ${GITHUB_WORKSPACE}" - sudo chmod +w -R ${GITHUB_WORKSPACE}; - uses: actions/checkout@v4 - name: Configure working direcotry run: | @@ -28,6 +21,7 @@ jobs: git config --global --add safe.directory `pwd` - name: Install Stretch Body run: | + source /home/hello-robot/.bashrc pip3 install -e body/ - name: Run Stretch Body Tests run: |