Skip to content

Commit

Permalink
github-action: install synthetics for running the UTs in x-pack/heart…
Browse files Browse the repository at this point in the history
…beat (#38185)

* install globally
  • Loading branch information
v1v authored Mar 6, 2024
1 parent a9dfc67 commit 00e38f5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/macos-xpack-heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ jobs:
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: .go-version
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: go install github.com/magefile/mage
run: |
go install github.com/magefile/mage
cd ${{ env.BEAT_MODULE }} && npm install -g @elastic/synthetics
- name: Run build
run: cd ${{ env.BEAT_MODULE }} && mage build
- name: Run test
Expand Down

0 comments on commit 00e38f5

Please sign in to comment.