Skip to content

Commit

Permalink
chore: fix harves test workflow (#1949)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchezgavier authored Nov 7, 2024
1 parent 01ed9a4 commit 1a19023
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/component_linux_harvest_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
- name: Setup node
run: sudo apt install musl-dev

- name: Fix GOROOT to be run with sudo
- name: Run harvest tests
run: |
mkdir -p /home/runner/.config/go
echo GOROOT="$( go env GOROOT )" > /home/runner/.config/go/env
echo GOTOOLDIR="$( go env GOTOOLDIR )" >> /home/runner/.config/go/env
sudo -E go env
# Set up installed Go version for root user, to not use the default from the runner
# GO_BIN is used by the Makefile
export GO_BIN="$( which go)"
sudo -E make linux/harvest-tests
- name: Running Harvest tests
run: sudo -E make linux/harvest-tests

0 comments on commit 1a19023

Please sign in to comment.