Skip to content

Commit

Permalink
github/workflow: use new make commands for integ tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
  • Loading branch information
Jakob3xD committed Apr 16, 2024
1 parent faa9e43 commit 59d95d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
export OPENSEARCH_VERSION=${{ matrix.entry.opensearch_version }}
export SECURE_INTEGRATION=${{ matrix.secured }}
make cluster.get-cert test-integ race=true
make cluster.get-cert test-integ-base test-integ-plugin race=true
- name: Stop the OpenSearch cluster
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integration-unreleased.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

- name: Integration test
working-directory: go-client
run: make test-integ race=true unreleased=true
run: make test-integ-base race=true
env:
OPENSEARCH_GO_SKIP_JSON_COMPARE: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
for attempt in `seq 25`; do sleep 5; \
if curl -s localhost:9200; \
then echo '=====> ready'; break; fi; if [ $attempt == 25 ]; then exit 1; fi; echo '=====> waiting...'; done
- run: make test-integ race=true
- run: make test-integ-base test-integ-plugin race=true

secured:
name: Tests against secure cluster
Expand All @@ -50,7 +50,7 @@ jobs:
for attempt in `seq 25`; do sleep 5; \
if curl -s -ku admin:myStrongPassword123! https://localhost:9200; \
then echo '=====> ready'; break; fi; if [ $attempt == 25 ]; then exit 1; fi; echo '=====> waiting...'; done
- run: make cluster.get-cert test-integ-secure race=true coverage=true
- run: make cluster.get-cert test-integ-base test-integ-plugin race=true coverage=true
- uses: codecov/codecov-action@v4
with:
file: tmp/integ.cov
Expand Down

0 comments on commit 59d95d0

Please sign in to comment.