Skip to content

Commit

Permalink
test: install vemon binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyb3r-Jak3 committed Aug 3, 2024
1 parent e2df96d commit e859219
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/golang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
runs-on: ubuntu-latest
env:
GO111MODULE: on
#if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -38,9 +39,13 @@ jobs:
with:
go-version-file: go.mod

- name: Install GolangCI-Lint
run: |
curl https://github.com/ovh/venom/releases/download/v1.2.0/venom.linux-amd64 -L -o /usr/local/bin/venom && chmod +x /usr/local/bin/venom
venom -h
- name: Test
run: make test
#if: ${{ github.event_name == 'pull_request' }}
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}

Expand Down
3 changes: 1 addition & 2 deletions run_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ sleep 5
curl -s http://${baseUrl}${metricsPath}

# Run Tests
mkdir -p results
docker run --add-host=host.docker.internal:host-gateway --mount type=bind,source=$(pwd)/tests,target=/workdir/tests --mount type=bind,source=$(pwd)/results,target=/workdir/results ovhcom/venom:latest
venom run tests/basic_tests.yml

0 comments on commit e859219

Please sign in to comment.