Skip to content

Commit d4a0e86

Browse files
authored
apt update before apt-get install (#4729)
1 parent 0c04844 commit d4a0e86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676

7777
test:
7878
needs: docker-cache
79-
uses: viamrobotics/rdk/.github/workflows/test.yml@main
79+
uses: ./.github/workflows/test.yml
8080
secrets:
8181
MONGODB_TEST_OUTPUT_URI: ${{ secrets.MONGODB_TEST_OUTPUT_URI }}
8282
DOCKER_PUBLIC_READONLY_PAT: ${{ secrets.DOCKER_PUBLIC_READONLY_PAT }}

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Run go unit tests
7474
run: |
7575
chmod -R a+rwx . # temporary fix for arm runners
76-
sudo apt-get install -y python3-venv
76+
sudo apt-get update && sudo apt-get install -y python3-venv
7777
sudo --preserve-env=MONGODB_TEST_OUTPUT_URI,GITHUB_SHA,GITHUB_RUN_ID,GITHUB_RUN_NUMBER,GITHUB_RUN_ATTEMPT,GITHUB_X_PR_BASE_SHA,GITHUB_X_PR_BASE_REF,GITHUB_X_HEAD_REF,GITHUB_X_HEAD_SHA,GITHUB_REPOSITORY -Hu testbot bash -lc 'make test-go'
7878
7979
- name: Upload test.json
@@ -108,7 +108,7 @@ jobs:
108108
--platform linux/arm/v7 \
109109
-v `pwd`:/rdk \
110110
ghcr.io/viamrobotics/rdk-devenv:armhf-cache \
111-
sudo -Hu testbot bash -lc 'sudo apt-get install -y python3-venv && cd /rdk && go test -v ./...'
111+
sudo -Hu testbot bash -lc 'sudo apt-get update && sudo apt-get install -y python3-venv && cd /rdk && go test -v ./...'
112112
113113
motion_tests:
114114
name: Test Longer-running Motion Plans if affected

0 commit comments

Comments
 (0)